# How to turn on, turn off and purge the GTM cache

> Turn on smart cache to deliver your tags to visitors faster and learn when to purge the stored copy.

Smart cache stores a copy of your GTM tags so they are delivered to visitors faster. It is in the container's **Domains** tab, in the **Cache** block.

## Turn the cache on or off

1. In **Containers**, open the container and click the **Domains** tab.
2. Scroll down to the **Cache** block ("Speeds up tag delivery").
3. On the **Smart cache** row, turn the switch on or off.

The switch saves right away, with no save button, and a confirmation message appears. The row's label shows **Active** or **Inactive**. With the cache on, the row reads **Your tags are being delivered faster to visitors.**

## Purge the cache

Purging the cache deletes the stored copy, and the next deliveries fetch your tags again. A common use is after you publish changes in GTM, so visitors get the new version.

1. In the **Cache** block, click **Purge cache**.
2. Wait for the success message. While the purge runs, the button shows **Purging…**.

> **Atenção:** The purge starts as soon as you click, with no confirmation dialog. The **Purge cache** button is only enabled when the cache is on.

## Common issues

- **Purge cache is disabled**: the cache is off. Turn the switch on first.
- **An error message appears when you turn the cache on or off, or purge it**: try again in a moment. If it keeps failing, [open a ticket](https://wascer.com/th/helpdesk/suporte/abrir-e-acompanhar-ticket).

The rest of the **Domains** tab covers your custom domains: see [custom domain status](https://wascer.com/th/helpdesk/containers-no-painel/status-do-dominio-personalizado).

Source: https://wascer.com/helpdesk/containers-no-painel/cache-do-gtm
