Near Infinite Caching Through the Purge Module!
Imagine a world in which your content is cached for a year in Varnish, Akamai, Fastly, or CloudFlare. In the recent past, setting a “high-time to live (TTL)” would have resulted in stale content in cache with no way to get it out! Caching forever is easy. Getting content purged is hard.
In this presentation we will explain the fundamentals about how caching works in D8 and show you how to leverage Purge to setup a site with extreme TTLs. 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! We’ll show you how we are building real production sites with long TTLs using these tools.
What’s 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.
- The ways that your servers will need to change to accommodate long-term TTLs.
- A practical example with Varnish and Cloudflare.
- Content editors that want their sites to be fast, resilient and always fresh.
- Site builders integrating CDN’s and external caching systems.
- Developers who need a solid external cache invalidation API leveraging D8.
- DevOps engineers looking to keep their server load low.
Niels and Adam have extensive experience in building tools to help D8 interact with external caching Including: purge, acquia_purge, purge_queuer_url, purge_purger_http, cloudflare and purge_cache_warmer.