← Graph

Russian Doll Caching

concept 1 connections

Caching strategy where both the collection and its inner items are cached; when an inner cache is still valid, the outer cache can be rebuilt cheaply. In the talk, adding two extra cache lines to wrap the whole table on top of per-row caches yielded a further, though smaller, performance gain over plain fragment caching. Enabled as the Rails 5.2 default.

category
pattern
about
Russian Doll Caching concept
Extends fragment caching to nested caches.

Provenance

Read by
12 extractions