Drupal 8 Caching Improvements

Webinar Date

We are excited to launch a 30 minute Webinar series on November 18 on the eve of first birthday of Drupal 8. This webinar series is exclusively on Drupal 8, called “Dwell in Drupal 8”. The objective of this series is to share the Drupal 8 learnings through Video Live sessions. The Speakers will be any Drupal Developer who wishes to share their experiences through our Platform.

These sessions will require sign up and we will announce them 10 days in Advance. We are planning to end the session with a Live Q&A. Sign Up now!

Speaker Name
About Speaker

Piyuesh works as Technical Architect at QED42. He has been into Drupal for the past 6.5 years. He is a passionate Drupal Developer and credited on with 31 issues fixed in the past one year and 281 commits... Piyuesh also attended many Drupal events Drupal Camp Mumbai being the latest. Also he mentors newcomers in Drupal community. Apart from professional life he likes reading, travelling & playing online games..

About Topic

Caching architecture has changed considerably in Drupal 8. Cache tags and contexts gives Drupal 8 the smarts to identify sections from the whole page, allowing for dynamic parts to be cached as well. The non-cacheable parts also-known-as placeholders; holds the promise of Lazy loading and allow for multiple flush strategies by which they come undone.

Drupal core provides with one strategy for processing placeholders called as ‘single flush’ but in spirit of Drupal allowing contrib to extend it, it’s possible to replace flushing strategy with your own. Been hearing of Bigpipe often? Thanks to Drupal 8 caching infrastructure, bigpipe strikes gold at n-chunks.

In this session, we will talking about how a contrib module can leverage this & create a custom placeholder flush strategy like big_pipe module in core does.

  • Problems with caching layer/cache architecture in Drupal 7
  • Architectural change for caching in Drupal 8
  • Introduction to cache tags, contexts & placeholders (with code examples & a short demo).
  • Handling #uncacheable content with Drupal 8
  • How reverse proxy like varnish/nginx can benefit from cache. (Varnish setup with Drupal 8 as an example)
  • How to leverage Drupal 8’s caching architecture to change the way data is rendered.
  • Big_pipe module as a case study for understanding n-flush strategy

Key take-away:

  • Complete understanding on caching architecture of Drupal 8.
  • Understanding of the value around the big change around caching layer.
  • Understanding of things Drupal 7 lacked in terms of caching.