3 ms·
The trick in this solution is deciding when to flip the switch for the cached version. Perhaps a simple GET to the URL ever 60s. If you receive 5 non-200 resp
by justinhensley 10y ago
The trick in this solution is deciding when to flip the switch for the cached version.
Perhaps a simple GET to the URL ever 60s. If you receive 5 non-200 responses in a row, then the HN link points to the archive.is version. Same method in reverse for bringing it back.
- fao_ 10y agoThat sounds like it would DDoS the site. Even better: monitor the comments for "site is down", or just provide a link to google's cached version as a button (Even better than the 'web' link we have at the moment).
- justinsaccount 10y ago> That sounds like it would DDoS the site How would one request per minute from a single server DoS the site, let alone DDoS it?