3 ms·
> they'd just send down a small bit of constant Javascript that rebuilds the page from the #fragment. That's _exactly_ what the site does. Everything happens c
by hashify 15y ago
> they'd just send down a small bit of constant Javascript that rebuilds the page from the #fragment.
That's _exactly_ what the site does. Everything happens client-side. nginx serves a single index.html for every request. ;)
- gojomo 15y agoThen why put the encoded content in the /path-info rather than the #fragment?
- AndyKelley 15y agoIt looks nicer.
- metamatt 15y agoAnd gratuitous roundtrips are fun, too :P (You're uploading the data in order to then convert it client-side. Groxx noticed this too: http://news.ycombinator.com/item?id=2464347 http://news.ycombinator.com/item?id=2464347)
- gbhn 15y agoThe OP is saying that with a #fragment, the browser wouldn't even need to send the server the doc contents. (Since they aren't used anyway, there's obviously no use in doing so.)