Skip to the content
Documentation

[CronjobPart-cache_cleanup]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

Removes view cache and cache-block files that have expired or grown old; without it they stay on disk until the same key is generated again. Runs for the var directory of the given siteaccess, so once per VarDir: php runcronjobs.php -s <siteaccess> cache_cleanup

File

settings/cronjob.ini; override it in settings/override/cronjob.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
Scripts[] cachecleanup.php; httpcache_cleanup.php; querycache_cleanup.php The role-aware HTTP cache (settings/httpcache.ini); does nothing while it is off.

See also

Generated example: cronjob.ini [CronjobPart-cache_cleanup]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/cronjob.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.