3 ms·
When an HN post is popular, we sometimes crash small websites/blogs. How about a URL Shortener that caches the page at the time the shortened URL is created?
by bequanna 13y ago
When an HN post is popular, we sometimes crash small websites/blogs.
How about a URL Shortener that caches the page at the time the shortened URL is created?
Then, when the short url is used, the service attempts to reach the site, if it fails, automatically inform user & redirect them to cached page.
Or, the service can attempt to reach the page periodically (once/ couple minutes), if fails, redirect all users to cached page until next attempt in a couple minutes. This period can be based on number of users clicking on the url. Once the link is no longer very popular, the service will have a fairly long time between attempts.
- _mhr_ 13y agoLike a link shortener built on top of the Wayback Machine?
- aspidistra 13y agoSomething like http://archive.is http://archive.is ?
- roryokane 13y agoThe free Coral CDN (http://www.coralcdn.org/ http://www.coralcdn.org/) already does something like this. It caches the link the first time it is visited. But rather than redirecting you to the original page if it’s up, it always show its own mirror of the page (on its nyud.net domain).
- dantiberian 13y agoThis is the idea behind http://fireballed.org/ http://fireballed.org/. Nice idea though.