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



This page is talking about the cache management of a page.

A page is composed of:

Each rendering goes into the cache until:

Expiration Date

You can set the expiration date of a page with two methods:

Expiration Frequency

If you need to delete the page cache at interval because your page contains time-based data, you can use the page cache expiration frequency.

Cache time interval

The cache time interval is a standard dokuwiki application configuration that sets a maximum age for the cache file.

If the interval has expired since the last creation date of the cache, the cache has expired and there is a cache miss.

You can read more on the Dokuwiki dedicated page.

Purge Manually

By adding the purge property to a page URL, you will purge the cache for this particular page.

Example for this page:


In the cache viewer, you can see all cache hit or miss for the slots.

For each slot, you can see the cache:

  • for the parsing instructions (the parse tree)
  • for the html page
  • for the metadata

After 2 rendering, you should see only cache hits.

  • the first rendering will do the initial work
  • the second one should be only cache hit

Combostrap Cache Hit

If the second request does not hit the cache, this is because a metadata may have been set by a third party plugin.

Support and Configuration


The useheading dokuwiki configuration has an impact on cache management, you should set disable it and set the value never. More information on the dedicated page of this configuration

Showcase yourself and your brand

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

Recommended Pages
Cache Management

All the caches are explained in this page, from pages to images
Cache Manager
Cache Viewer

The cache viewer is a cache tool that permits to check the page cache (the slot cache informations for the requested page). Check the following icon located in the railbar You will find technical...
Combostrap Cache Expiration Frequency
How to manage the cache of a page with the cache expiration frequency

With the page cache expiration frequency, you can schedule the expiration of a page cache at interval.
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
Undraw Building Websites I78t
The variables that can be used anywhere

This page describes which variables you can use in your content.
Page Speed Performance
What makes the ComboStrap performance so fast?

This article explains the secret sauce of the ComboStrap performance and what you should avoid in order to not degrade it.

Task Runner