4 ms·
This technique is the way Rails Fragment Caching works, and enables Russian Doll caching Those terms should help you find more writing about this technique tha
by craz8 6y ago
This technique is the way Rails Fragment Caching works, and enables Russian Doll caching
Those terms should help you find more writing about this technique that I always forget isn’t obvious outside the Rails ecosystem
- mmahemoff 6y agoDHH helped to popularise it with this post: https://signalvnoise.com/posts/3113-how-key-based-cache-expiration-works https://signalvnoise.com/posts/3113-how-key-based-cache-expi... It's been hugely influential to the way I think about scaleable pages. It's a similar idea to the cache-busting techniques well-known with URLs (https://example.com?style.css=1234 https://example.com?style.css=1234 etc), but applied to page fragments recursively, where a change in any component also "revs"/"bumps" its parent components.