ComboStrap Cache - Page Cache Expiration Frequency
About
The page cache expiration frequency is a metadata that permits to
- schedule the page cache expiration time
- for only one page
- based on a cron expression
Example
To refresh the cache of your page:
- at midnight daily:
@daily
- at 12:02 on Monday
02 12 * * 1
- at midnight monthly:
@monthly
More examples can be seen on this page.
Syntax
The value is a cron expression
- named (@daily)
- or in the full format
┌───────────── minute (0 - 59)
│ ┌───────────── hour (0 - 23)
│ │ ┌───────────── day of the month (1 - 31)
│ │ │ ┌───────────── month (1 - 12)
│ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │
* * * * *
We recommend the excellent crontab.guru wizard to create and validate your cron value
How to set the cache expiration frequency
You can set it in the cache tab of the the metadata manager
How to check the next expiration date
The expiration date can be seen in the cache tab of the metadata manager.