Rails Fragment Caching Part – II

Caching Dependencies: In order to correctly invalidate the cache, we need to define the caching dependencies properly. Rails is clever enough to understand these dependencies. But few cases it has to be handled differently to invalidate the cache when an object / template changes. 1.1 Implicit Caching: Template dependencies are handled by calls to render.…