Live data from Hacker News

I am a fast webpage

varvy.com

81–90 of 292 posts

Re: I am a fast webpage

#82

I 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…

It also seems somewhat antiquated. As service-worker comes online we can... do a lot more with a more naive method.

Re: I am a fast webpage

#87

Earlier 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?

There is a free tier. It looks like it's free up to 1GB per day [1].

On my home account I've only used it for demo projects that are scarcely used, but it's fine for that.

[1] https://cloud.google.com/appengine/docs/quotas

Re: I am a fast webpage

#88

Ehh, 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?

Nope.

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

#89
What an arrogance, the page is done with me? I done with the page yet. I can get the same page much faster by putting the png in an inline svg, strip the source of unnecessary whitespace and returns, serve brotli (or sdhc compressed pages) with firefox, chrome and opera dynamically... or even just do the decompression inline with javascript. Might save another 20% https://github.com/cscott/compressjs

Re: I am a fast webpage

#90
post #63

Earlier 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.

[deleted]
Post reply on HN