Seven layers of cache in a Rails app, from the browser to Russian doll
This post walks through the seven places a request can be answered before it reaches Postgres: browser cache (expires_in, fresh_when), Varnish, Nginx proxy cache, action caching, R...