# 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.

![](/files/-LzEfAIjKHiJQK23buja)

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.\
![](/files/-LzEfAIkQYNTzYLCEfe1)

#### 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.

##


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://salsa-digital.gitbook.io/govcms-site-builder/unit-6-content-listing-with-views/unit-6-summary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
