Deprecated - Set the cache expiration date of a page with the cache component



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.


To delete your cache:

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


<cache expiration="cronExpression"/>

where cronExpression is a cron expression.

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

How to check the next expiration date

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

Task Runner