Cache
Table of contents:
This is a Stub article. Help the eZ Publish community by expanding it!
For a general description of cache, we recommend cache on Wikipedia.
Types of cache in eZ Publish
eZ publish uses several caches to improve performance:
Cache Name | Short Description | Update |
Cached node result. | On publish |
|
Global INI | Recursively removes settings cache. Removes all files under var/cache/ini |
On change |
INI cache | Recursively removes settings cache. Removes all files under var/<sitefolder>/cache/ini | (auto) |
Codepage cache |
Removes the char translation tables. | ?? |
Expiry cache |
On expire |
|
Class identifier | Recursively removes all files under var/<sitefolder>/cache based on a regular expression. | Auto |
Sort key cache | Recursively removes all files under var/<sitefolder>/cache based on a regular expression | Auto |
URL alias cache | Cache contains a mapping of node urls to node ids. Recursively removes all files under var/<sitefolder>/cache/wildcard | Auto |
Character transformation cache |
Cache contains character mapping for url generation, search keywords translation and other. | ? |
Image alias | Cache contains all system generated image aliases ( resized images based on uploaded image ). Clearing that cache causes all images to get re-created. |
Auto |
Template cache |
Included templates get cached. When using a lot of template includes that cache directory can contain a lot of files ( {include uri...}in template laguage ). | Auto/manual |
Cache contains all cache blocks ( {cache-block...}in template laguage ). | Every 2 hours or when content expire |
|
Cached version of the override.ini configuration file. Recursively removes all files under var/<sitefolder>/cache/override | ||
RSS cache | Recursively removes all files under var/<sitefolder>/cache/rss (often xml files) | Check setting file |
Cache contains user permission. Recursively removes all files under var/<sitefolder>/cache/user-info |
Additional cache types in eZ Publish
Clearing cache in eZ Publish
You can clear several caches with the setup/cache view or with the command line script bin/php/ezcache.php.
Additionally, you can configure eZ publish to accommodate further web caching.