Slide 6
Slide 6 text
HTTP Caching
●
By default triggers visitor's browsers to serve a locally cached
version of the page.
●
When specified as public, cached pages will be served from a
reverse proxy cache (e.g. Nginx, Varnish, Squid, rack-cache).
●
Returns the largest net performance gains as no rendering
occurs on the application.
●
On Heroku you'll most likely end up using rack-cache, which
still results in hits to your dynos.
●
More complicated to implement with pages containing
user-specific data. Can be mitigated through asynchronous
loading with JavaScript.