O'Reilly logo

Mastering Drupal 8 Views by Gregg Marshall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making Views go fast

The last setting, Caching, is actually very important for Drupal performance. I'm surprised to see this view has caching disabled. If you remember way back when you started on this learning journey, one of the advanced Views general settings is to disable caching on a global basis. The description for this option says that it will have a serious performance impact on your site, which is really true. Views is a SQL query builder that can generate complex and time-consuming database queries. You don't want to execute them any more than you have to, especially if your data doesn't change in real time, which is true for most websites.

Caching types

Assuming you want caching, you need to decide what kind. One option is Time based ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required