~/talk

Drupal 8 Caching: A Developer’s Guide

Talkat MidCamp 2017 · 2017-03-30..04-02· [web-performance, frontend-architecture]
links:none on file
slides:none on file

Drupal 8 caching spans layers from MySQL query cache and PHP OPCache through Redis or memcached object caching, Drupal’s internal dynamic page cache and BigPipe, to Varnish, CDNs (Akamai/Fastly/CloudFlare) and browser caches. Key mechanics: HTTP headers (Cache-Control, ETag, Age), Surrogate Keys / cache tags in render arrays that let Varnish/CDNs invalidate precisely, and Varnish default 120s which surprises people. Common failures: cookies block caching, Drupal’s internal cache can return stale pages even after Varnish purge, and timeouts usually indicate slow origin queries rather than Varnish itself.

AI-written summary · about

  1. 0:00Start
  2. 3:37Ajax
  3. 7:54Php Caching
  4. 8:23Object Caching
  5. 9:37Dynamic Cache Modules
  6. 26:20Alternative Php Cache
  7. 28:08Headers
  8. 30:52Caching Contexts and Tags
  9. 31:03Render Array
  10. 33:33Surrogate Keys
  11. 35:34Varnish
  12. 37:10Varnish Cache
  13. 38:11Default Varnish Settings
  14. 43:13Reasons Why Things Will Not Get Cached by Varnish
  15. 44:36Etags and Last Modified
  16. 51:55Drupal 8 Caching
  17. 52:33Cache Context
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.