DrupalCon Amsterdam 2019: Caching in Drupal 8 has evolved: Tips on how to improve your code

Kristiaan Van den Eynde
Factorial Gmbh, Hamburg, Germany

Many concepts have changed since Drupal 8's first release and core hasn't always implemented its new APIs everywhere. So even though there are new tools available, we might not know about them unless someone told us.

I'm here to inform you about the cool changes that the caching API has undergone and how you can leverage them. At the time of writing this session proposal, I have one "you are definitely all doing this wrong" and one "this new feature will blow your mind" up my sleeve.

Instead of repeating the same things all over again, I intend to really show you aspects of the caching API that have so far flown under most sessions' radar.

A general understanding of cache tags, cache contexts and how to use them is encouraged.