1-3 March 2019

City, University London

The Wonderful Adventures of Caching Things in Drupal 8




Basic knowledge or willingness to learn about caching in Drupal 8

Basic knowledge of OOP

Basic knowledge of Twig syntax in Drupal 8 context

Nice to have:

Basic Understanding of Dependency Injection and Services

Basic understanding of Render Arrays in Drupal 8

Session details

The session will be all about demystifying Drupal 8 Cache API and showing some practical examples in 45min. 
(How hard can it be?)

It will consist of a few main parts:
1. A brief introduction and explanation why this presentation was made.
(Mostly due to me and fellow D8 developers stumbling onto the same Cache API related issues)

2. A brief description of Drupal 8 Cache API, terminology and usage.
This part will briefly touch on most things related to Cacheability Metadata, such as Cache Tags and Contexts, Max-Age and Cache Bubbling.

3. The practical part aka "Examples of what not to do (or how to fix it)"
This section will contain PHP and Twig code examples from real life issues encountered on Drupal 8 projects. The examples will show the basic premise of a problem, initial version of the code and a solution to the problem. All code examples will have clear visual cues on what the audience should focus on, explanation on what the issues are and how simple it is to resolve said issues with the use of Drupal 8 Cache API.
There will be 2 - 3 examples in total, each taking between 2 and 5 minutes to go through.

The theoretical part of session should be relatively easy to follow for anyone who has at least basic understanding "what caching is" and "why do we cache stuff" in the context of web development. I will try to be brief, on point and with visual examples to aid the audience.
Following the practical examples/code with no previous coding experience might be difficult, hence the prerequisites of at least basic PHP OOP understanding. Twig parts will have minimal requirements for syntax knowledge, but at least a basic understanding of how Twig works in Drupal 8 will be necessary.


The presentation slides are available here: 


Session Track
Scheduled day
Session Time
16.15 - 17.00

Keynote speakers

Rowan Merewood

Developer @ Google

Saturday AM

Preston So

Director of R&I @ Acquia

Sunday AM

Sally Young

Developer @ Lullabot

Closing Keynote

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by