Events Conference
Did You Clear the Cache? A Contextual Tour of Rendering Efficiently

Drush cr… drush cr… drush cr!!! We all know the scenario where you’ve made a change to the site, but when you load the page it just doesn’t seem to show. Oftentimes the solution is to clear your cache and move on, but why is that?

In this session we’ll explore how that cache is built and used. What determines when a page can be cached, and how does Drupal know when to rebuild it? How does Drupal know when to rebuild parts of a page without rebuilding everything?

Drupal 8 introduced a whole new methodology for caching: Cache tags and contexts. Using and maintaining these effectively will make your life easier and your clients love you. We will go over real life examples and show best practices to keep your caches up to date.

Level of Knowledge Needed

  • Attendees should be comfortable with back-end development and/or theme-level development using render arrays.

Topics to be Discussed

Throughout this session we’ll explore:

  • Caching layers in Drupal
  • Existing cache contexts and tags
  • Maintaining cache data throughout rendering
  • Caching during development

Session Takeaways

Attendees to this session will walk away with:

  • An understanding of how cache tags and contexts are used in Drupal 8
  • A view into Drupal’s rendering process and how caching data bubbles through the render caches
  • A framework of questions to determine when cache tags or contexts are needed
  • Helpful modules to use to drive your caching efficiency further

Our Presenters

Stephen Lucero, Engineering & Developer Operations Director, Forum One

Stephen works with the technical team to improve effectiveness and ability to deliver increasingly unique and exciting custom solutions for customers with challenging problems to solve. He has extensive experience in software design, artificial intelligence, image recognition, and pattern identification. Throughout his career, he’s had the opportunity to work on all sides of the development process including back-end, front-end, design, UX, and server management. Stephen earned his Bachelors of Science in Computer Science from the University of Arkansas – Little Rock.

Rob Powell, Drupal Developer, Mediacurrent

Rob is a Drupal Developer with two years of strategic Drupal practice under his belt. His areas of Drupal expertise lie in Entity API and SQL and his notable work includes working on the Massachusetts’s Drupal 8 project, mass.gov, and contributing to the Webform module. His background in web development comes from seven years of experience in state government. He has a diverse history of enterprise applications from working with Drupal, Django, Peoplesoft, and big data.

Are you ready to create impact?

We'd love to connect and discuss your next project.