D8: cache clear all the things!

Written by Niels on

Today me and my colleague Adam Weingarten spoke at Drupal GovCon at the prestigious National Institutes of Health's Natcher conference center in Washington DC. Although it was extremely hot outside, the venue was - thank you America - properly air conditioned and our room was adequately filled with a interested audience.

Excerpt

Tired of manually clearing caches? Tired of needing the Rules and the Expire module to clear any non-node content (views, panels)? Everything you know about caching is about to change.

Drupal 8 solves these problems and pushes the boundaries of website caching with its new “cache tags” concept. The Purge module streamlines and extends this behavior to external caching systems and CDNs. We will explain how cache tags are fundamentally different from path based purging. Like magic? We’re going to demonstrate a couple of complex cache invalidation examples which would have been impossible in Drupal 7, across Drupal, Varnish and CloudFlare!

What we covered
  • Caching explained
  • How external cache invalidation in Drupal 7 (does not really) work.
  • Drupal 8’s cache tags and how innovative it actually is.
  • The Purge module, your CDN agnostic middleware connecting the dots.
  • A practical example with Varnish and Cloudflare.
Slides

http://talks.nielsvm.org/talk-20160722-cache-clear-all-the-things/ (source)

Recording

https://www.youtube.com/watch?v=xgYYG5BydsE (audio-only)

Drupal