Help Center
Pārlūkot dokumentāciju

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

1 min lasīšanasView as Markdown

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

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.

The rest of the Domains tab covers your custom domains: see custom domain status.

Was this article helpful?

Still stuck? Talk to support.

Comments

Leave a comment

Only your first name and last initial appear on the site; your email stays with us. See the privacy policy.