[CacheCleanupSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [CacheCleanupSettings] of settings/cronjob.ini.
File
settings/cronjob.ini; override it in settings/override/cronjob.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| MaxAge | 172800 | Seconds after which a file is removed whatever its expiry. A cold entry that was still valid costs one regeneration. 0 removes only expired files. |
| IterationSleep | 0 | Microseconds to sleep after every 1000 files, to go easy on the disk. 0 = none. |
| RenameAfterClear | enabled | After a global clear of a cache, move its whole directory aside in one rename and delete it from there, instead of looking at every file. Entries stored between the clear and the run are lost and generated again. disabled removes file by file. A clear in the administration interface or with bin/php/ezcache.php already moves the directory aside itself (site.ini [FileSettings] RenameExpiredCaches) and records that here, so this run does not move it a second time. |
See also
Generated example: cronjob.ini [CacheCleanupSettings]
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
- Graham Brookins Updated
Comments
Add a comment