Episodes tagged with “caching”
Cache Digests Other translations:
The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire but there are traps we need to watch out for.
Touch and Cache Other translations:
Rails 2.3.3 has a new feature called 'touch'. In this episode we use it to auto-expire associated caches.
Dynamic Page Caching Other translations:
Caching With Instance Variables. Other translations:
Store the result of an expensive command in an instance variable to improve performance.