Skip to the content
Documentation

DelayedCacheBlockCleanup

No ratings yet

Summary

Enables delayed removal of expired cache blocks with the "subtree_expiry" parameter.

Usage

DelayedCacheBlockCleanup=enabled|disabled

Description

This setting is used to delay the clearing of expired template block caches.

If you are using the "cache-block" template function with the "subtree_expiry" parameter to cache the contents of a template block, this cache block will only expire if an object is published below the given subtree (instead of the entire content node tree). By default, the "DelayedCacheBlockCleanup" setting is disabled, and the system will automatically remove cache blocks with the "subtree_expiry" parameter when they expire. If this setting is enabled, the expired cache blocks must be removed manually or using the "subtreeexpirycleanup.php" cronjob script.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.