# Page cache

The page cache keeps finished pages of your website ready in the web server. A visitor gets them in a few milliseconds instead of your CMS building every page anew for every request. On a typical WordPress site we measured about 7 milliseconds to the first byte from the cache, and over a second without it.

Every webspace has its own cache. You switch it on and off and empty it without any other website noticing.

## How it works

The web server keeps only pages your CMS releases for it. Your CMS's cache plugin does that, for WordPress for example **LiteSpeed Cache**. It also makes sure that:

- **saved content shows at once.** When you save a page or post in the CMS, the plugin empties the pages concerned itself.
- **signed-in users never see a kept page.** You always see your changes while you are logged in.
- **personal content stays out of the cache**, such as the shopping cart or a customer account.

Without a cache plugin the web server keeps nothing. Your website still works, only slower.

## Switch it on or off

1. Open your webspace under [Webspaces](https://site.quest/dashboard/webspaces/)
2. On the overview, click **Page cache** in the **Settings** section
3. Switch the cache on or off with the switch

Switched off, the web server delivers no kept pages for your webspace and keeps no new ones, whatever your CMS plugin or your `.htaccess` says. Every page is then built anew for every visitor. That makes sense while you work a lot on the website or use a cache plugin of your own.

Switching it on or off empties the cache every time.

## Empty the cache

Open **Page cache** and click **Empty cache**. Every page is then built fresh on its next visit and kept again. Visitors notice nothing, only the first visit of each page takes a moment longer.

Empty the cache when your website changed past the CMS, because the cache plugin knows nothing of it then:

- after **importing another website**, for example with All-in-One WP Migration or Duplicator
- after changing **files over SFTP or Git**, for example theme files
- after **changes made directly in the database**, for example with phpMyAdmin or WP-CLI
- after **deactivating or deleting the cache plugin**

Without emptying, old pages stay visible until their entry expires. With the LiteSpeed Cache plugin that is after one week by default.

## What we empty for you

We take care of these cases:

- **Backup restored:** after a restore we empty your webspace's cache.
- **CMS installed or changed:** pages of the previous install are no longer delivered.
- **Daily check:** once a day we compare the home page from the cache with the home page your website builds right now. If it has another title, for example after an import, we empty the cache. The check does not notice smaller changes, that is what **Empty cache** is for.
- **Size:** the cache does not count towards your storage. If it grows past 20 % of your storage, the daily check empties it. You see how much is in the cache under **Page cache**.

## Per CMS

### WordPress

When we install WordPress we set up **LiteSpeed Cache** and activate it. Leave it active and there is nothing for you to do.

- **One cache plugin is enough.** If you prefer WP Rocket, W3 Total Cache or WP Super Cache, deactivate LiteSpeed Cache and empty the cache once. Two cache plugins at once easily lead to outdated pages.
- **After an import** with All-in-One WP Migration, Duplicator or a similar plugin: empty the cache. An import replaces the database and often the plugins too, and the cache plugin does not notice.
- **You do not need QUIC.cloud.** LiteSpeed Cache offers a connection to this service. The page cache on your webspace works without it.

### Joomla

- **Joomla 5:** when we install Joomla we set up **LiteSpeed Cache** and enable it. You find it among the plugins in the backend.
- **Joomla 6:** LiteSpeed Cache does not exist for Joomla 6 yet, so the web server keeps nothing. Joomla has a page cache of its own, the **System – Page Cache** plugin. If you enable it, you empty that cache in the Joomla backend under **System**. **Empty cache** in the dashboard does not reach it.

### Drupal

When we install Drupal we set up the **LiteSpeed Cache** module and enable it. Drupal also has caches of its own. If you changed something past the CMS, empty both:

- in the dashboard with **Empty cache**
- in Drupal under **Configuration → Development → Performance** with **Clear all caches**, or over SSH with `vendor/bin/drush cache:rebuild`

### TYPO3

For TYPO3 the web server uses no page cache. TYPO3 keeps finished pages itself. You empty its cache in the TYPO3 backend with the lightning icon at the top and **Flush all caches**, or over SSH with `vendor/bin/typo3 cache:flush` in the `typo3-app` folder. The switch in the dashboard changes nothing for TYPO3.

### Static site

The web server delivers a static site straight as files. There is nothing to build and nothing to cache. If you still see an old version after an upload, it is in your browser's cache: reload the page with **Ctrl + F5** (Mac: **Cmd + Shift + R**).

## Permissions

**Owners**, **administrators** and **collaborators** can switch the page cache on and off and empty it.

## Next steps

- [Create and restore backups](/en/docs/webspace/backups/)
- [Install a CMS](/en/docs/webspace/install-cms/)
- [SSH & SFTP access](/en/docs/webspace/ssh-access/)
