2 ms·
With a name like 'Hashify', I'm surprised they don't also offer the option of putting the content into the '#fragment' portion of the URL. Then, not even the ha
by gojomo 16y ago
With a name like 'Hashify', I'm surprised they don't also offer the option of putting the content into the '#fragment' portion of the URL. Then, not even the hashify.net site would need to receive and decode the full URL; they'd just send down a small bit of constant Javascript that rebuilds the page from the #fragment.
- hashify 16y 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 16y agoThen why put the encoded content in the /path-info rather than the #fragment?
- AndyKelley 16y agoIt looks nicer.
- metamatt 16y 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 16y 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.)