(This has always been an idea I was thinking about; nice to see it implemented)
data:text/html;charset=utf-8,However,%20data%20URI%20does%20the%20same%20without%20the%20server.
Here is a self-containing cached document, for simple texts probably with a better efficiency than base64.
EDIT: ah. The shorteners barf if you try to "shorten" the data URIs
With http://preview.tinyurl.com/3maue6t it works, btw.
Though, tinyurl still barfs when I try to shorten the data URI that http://software.hixie.ch/utilities/cgi/data/data gave to me when I let it grab the index of HN.
I guess for this to work well. Dont you need Hashify to provider a service where you pass in hashcode and it returns the HTML to you.
You just wrap the call with good old JSONP and you are good to go.
Not so. hashify.me has no server-side component (beyond nginx serving three static files). _bit.ly_ kindly provides the hash table. ;)
Not having the time to do so, I leave the challenge here: http://bit.ly/ialoWI
The _right_ thing to do would be to build a shortening service designed to handle URLs of arbitrary length. I'm not sure that I'm willing to take on that responsibility, though.
That way you only get the text of the page, stored in a cache.
For example, what if a URL were posted to Hacker News, but after the URL was a ?hasifyme=THEHASH, where THEHASH was the Hash of the website linked-to.
This way, if the URL could not be loaded because the server load was to high, you could just forward the URL to Hashify.me and the cache of the plain text from the website would still then be readable.
Boom, instant cache of the website content stored right in the URL!!!!