Which cache level would you use to cache one expensive block within an otherwise dynamic page?
- A Per-site caching middleware
- B Per-view caching with @cache_page
- C Template fragment caching
- D No caching is possible
Answer
Template fragment caching
The {% cache %} tag caches a block keyed by whatever makes it vary, which is usually the best trade-off for a mostly dynamic page.





