Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Caching - A Primer

Ash Christopher
April 15, 2012

Caching - A Primer

Ash Christopher

April 15, 2012


  1. Memcache cluster of Memcache servers Database cache uses database table

    for cache Filesystem cache file on the local filesystem Local memory cache only good for local development
  2. 1. Check the cache for data and if found, return

    it 2. If data is not in cache - get data from the database, put data in cache then return the data 3. Invalidate cache on data change.