Few more possible optimizations: - Brotli instead of Gzip. Likely saves around 10% size. - Minify everything, including HTML. Could save around 3% size on that page.
I am a fast webpage
81–90 of 292 posts
Re: I am a fast webpage
#82I hate to be negative, but what really is the point of this? That a simple webpage without any content can be fast? Of course it can. Is it desirable to inline your CSS, "like a boss?" Maybe if you have one single web page. What if you have dynamic content and your users intend to browse more than one page? With externalized CSS, that is all cached. Same with images. If I'm building a web application, I certainly do…
Re: I am a fast webpage
#83Re: I am a fast webpage
#84Re: I am a fast webpage
#85Re: I am a fast webpage
#86Re: I am a fast webpage
#87Earlier quoted context omitted.
You could also host it on App Engine for free and automatically use Google's CDN.
For free? GAE doesn't charge for their object store nor their CDN service?
On my home account I've only used it for demo projects that are scarcely used, but it's fine for that.
Re: I am a fast webpage
#88Ehh, I just got 10.91s load time in Chrome 53 from Colorado, USA. Image of Chrome Dev Tools: https://reportcards.scdn3.secure.raxcdn.com/assets/uploads/f... As an aside, does HTTP/2 provide any benefit for a single HTML file with no external assets?
If you're done in one HTTP round-trip, your HPACK state has to push brand-new headers, you benefit nothing from server-side push (if it's even enabled), there's nothing to pipeline, so don't benefit from multiplexing and head-of-line blocking is a non-issue.
Re: I am a fast webpage
#89Re: I am a fast webpage
#90Earlier quoted context omitted.
Cloudfront requires JavaScript, which isn't always acceptable. Edit: Nevermind, confused Cloudfront with Cloudflare. Thanks for the correction, toomuchtodo.
Cloudflare does, Cloudfront (AWS' CDN) does not. EDIT: cm3: I didn't mean to call you out, just wanted my reply in here for historical context. Its very easy to confuse the two.