4 ms·
This is a totally awesome idea. You are still in trouble if the load balancer has problems or S3 has problems (unlikely, but not impossible!). It's always sma
by svmegatron 13y ago
This is a totally awesome idea. You are still in trouble if the load balancer has problems or S3 has problems (unlikely, but not impossible!). It's always smart to have a couple of ways of failing over to something if your main site has problems - for instance, I'm always surprised that more people don't spend time customizing the default rails error/maintenance pages for heroku.
- pquerna 13y agoI previously wrote about making a downtime page: http://journal.paul.querna.org/articles/2009/08/24/downtime-page-in-apache/ http://journal.paul.querna.org/articles/2009/08/24/downtime-... One thing you'll probably want to do is set 5xx HTTP status codes on your static site, and to try to get things to not cache it as much as possible.. A redirect to a subdomain hosted on s3 makes it more likely something like Google will pick up on it.