I'm looking for a script to calculate and display the size / weight (in kb) of an html page, like on this page : https://solar.lowtechmagazine.com/
page size : 403.86KB
the total size of all the ressources (text, img, scripts...)
I've found a Pelican plugin : https://git.vvvvvvaria.org/rra/page_metadata but I need to use javascript / jquery.
any ideas ?
I can't find any ressources online, any ideas ?