When logged in users are all you want and yet you can’t afford a bloated D8 site.

Shash
RavindraSingh

When you have a site that will almost always have a logged in user base, performance becomes all the more important. Until now Drupal 7 has been good with caching but with D8 we have more expectations. With render_cache, cache_tags and "Facebook BigPipe" implementations the bar has been set high. In this talk, we would explore some common use cases that will be useful on almost all sites and see how the caching works and whether it actually holds up to its promise.

Some use cases that we would like to cover are

  • As an authenticated user, I should be able to see a page with my name and avatar on it but cached so that the page is served faster.
  • As an Authenticated user, I should be able to see a page with related content blocks non-cached (and changing based on my interests/or any other parameter) while the main content is cached.
  • As an Authenticated user, I should be able to see MY “updated” and “new” comments based on where I have left off rather than a generalised version.
     

A Hands-on talk on caching in D8 with some real-world use-cases. Let us take you through one of the most exciting and most awaited features of Drupal 8 and show you the prowess!

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version