Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Clearing of contentcache

Make it easy to clear the viewcache for a given node or subtree without resorting to clearing all the content cache. This will help keep the load on a server down by only clear caches that have new and updated templates…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/3.5/contentcache_clearing.txt

*Title: Clearing of contentcache

Incentive:
Make it easy to clear the viewcache for a given node or subtree without
resorting to clearing all the content cache.
This will help keep the load on a server down by only clear caches
that have new and updated templates ready.

*Documentation:
A new script was made for this called contentcache.sh which accepts
a list of node IDs/nice urls.

Clearing a given node is done with:
./bin/php/ezcontentcache.php --clear-node=/
or for multiple nodes (5 is users)
./bin/php/ezcontentcache.php --clear-node=/,5


Clearing a given subtree is done with:
./bin/php/ezcontentcache.php --clear-subtree=2
or for multiple subtrees
./bin/php/ezcontentcache.php --clear-subtree=2,users

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors