How to manage the cache of a page with the cache expiration frequency

Cache

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

Combostrap Cache Expiration Frequency

How to check the next expiration date

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




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw File Analysis 8k9b
All the metadatas that you can set for your pages

Page Metadata are page configuration. They are also known as: semantic data. or structured data The metadata can be seen and modified via the Metadata Manager. There is two groups of metadata:...
Cache
Automatic Slot Cache Management

Thanks to the automatic slot cache management, the secondary slots cache is managed automatically and are re-rendered in the background
Cache
Cache Management

All the caches are explained in this page, from pages to images
Page Explorer List Name To Ui Region
Page-explorer: adding page navigation easily to your website

With the page-explorer component, you can add an explorer like panel that will list your pages in a list or collapsible tree fashion
Combostrap Cache Hit
Set the cache expiration date of a page with the cache component

With the cache component, you can manage disable the cache of a page at interval
Undraw Building Websites I78t
The iterator: Pages iteration made easy

With the fragment iterator, you can loop over a content fragment to create any list of page components such as the list of the last blog or recent pages



Task Runner