Table of Contents

About

The cache syntax component has been deprecated for the page expiration frequency metadata.

This page has been preserved for general documentation.

With the page cache component, you can manage the cache of a page and expires it at interval.

Example

To delete your cache:

  • daily at midnight:
<cache expiration="@daily"/>
  • At 12:02 on Monday
<cache expiration="02 12 * * 1"/>

Syntax

<cache expiration="cronExpression"/>

where cronExpression is a cron expression.

To create a cron expression easily, we recommend you the crontab.guru wizard

How to check the next expiration date

The expiration date can be seen in the cache tab of the metadata manager