Platform: Clear cache

« 
Previous article
|
|

Introduction

How to clear cache using eZ Publish 5 aka eZ Platform

Administration (Legacy)

Use the website administration interphase to clear all cache via a gui.

  1. Simply navigate to Setup tab
  2. Click the clear cache icon
  3. Refresh browser window of website

Command line

If you know how to use the command line you can use it to clear cache.

Unix

If you are using a complete unix like operating system you can use the following command to clear and purge all cache within eZ Publish.

cd /path/to/ezpublish;
 
php ezpublish/console cache:clear --env=dev;

Manual

If you are unable to use the administration gui or command line to clear cache, you can still remove the cache files manually.

cd /path/to/ezpublish;
 
 
rm -vrf ezpublish/cache/dev/*;

References