Hacker News new | ask | show | jobs
by paulddraper 3494 days ago
Compression takes care of exactly this.
1 comments

Unless compression cannot be used: https://news.ycombinator.com/item?id=13049898

Also, there are still cases where compression cannot be applied, e.g. if a script naively queries innerHTML. (This wouldn't affect loading time but it could inflate the page's RAM unnecessarily)

Sure, but I'd consider those edge cases to be situations where the treatment is worse than the disease
HTTPS is an edge condition? Over 50 percent of the web is now transferred via HTTPS.
It's not HTTPS. It's HTTPS cross-site requests with secret cookies.