9 ms·
Using a reversed proxy (e.g. nginx's built in, or maybe varnish) is a much easier and dynamic solution then to render things to static files.
by inji 15y ago
Using a reversed proxy (e.g. nginx's built in, or maybe varnish) is a much easier and dynamic solution then to render things to static files.
- brycethornton 15y agoAgreed. Heroku makes it dead simple to use their Varnish proxy. Just set one http header and they'll cache the page for you. After that, your app doesn't do anything until the cache expires. This obviously won't work for highly dynamic pages, but for semi-static front pages/blog entries it can be a lifesaver.