When calculating the html size, it might be useful to also check html size as gzip compression, and IF it is compressed.
Seems like other services (like Google Insights) are looking at the compressed html size when deciding if document is too large.
It should be ok to just look for the header: Accept-Encoding, gzip in the response. I don't have a solution for checking the compressed size right now. But I can help you to look for a solution if you want.
HTML size as compressed
When calculating the html size, it might be useful to also check html size as gzip compression, and IF it is compressed. Seems like other services (like Google Insights) are looking at the compressed html size when deciding if document is too large.
It should be ok to just look for the header: Accept-Encoding, gzip in the response. I don't have a solution for checking the compressed size right now. But I can help you to look for a solution if you want.
Good one! Shouldn't be that hard to implement
Do you have any idea what an acceptable size for compressed html is?
is working on a reply...