# Unit 6 Summary

This unit gave us an insight into how the Views module works and how you can use it to customise your website. Views is a great way to build complex queries into your database administration. Later in the course we will see other ways to make the most of Views.

#### Always use a caching strategy with Views

You can use caching with Views to save the results of a query for the next site visitor. All views can have a *Tag based* or *Time based* cache. If all views are set up with a cache of at least fifteen minutes or more it will reduce the load on the database. *Tag based* cache is the default configuration and is suitable for most caching scenarios.

**Note:** Very short times in the *Time based* caching may negatively impact your website performance.

![](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-08ab16fa0079ecc984cafdf6c27913da156ca169%2F67.png?alt=media)

You can change it to a *Time based* cache in the right-hand column. Choose a setting based on how often your site is updated.\
![](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-f7efe229947c217377bf5ac219f03b5f7a1d2fdc%2F68.png?alt=media)

#### Turn off the Views UI module

When you're not developing Views directly you should disable the UI. This will reduce the load on your server’s memory, but Views will still work.

##
