How to clear cache files on CS-Cart?


Clearing Cache in a Browser

You can clear the cache by adding parameters to URLs in your browser:

  1. Open the Administration Panel.
  2. Add the cc parameter to the URL, so that it would look like this:

or like this:

  1. Press Enter.

Remember to rename admin.php for security reasons. Once you do it, use the new file name in the URL instead of admin.php.

You can add one of the following parameters to your URLs:

  • ct—delete all the thumbnails that were generated automatically
  • ctpl—clear template cache
  • cc—clear registry and miscellaneous cache

Add one of the parameters to the URL to clear the cache.

Manual Cache Clearing

You can clear the cache manually by deleting or renaming the var/cache folder in the CS-Cart installation directory. Use the command below:

cd root/folder/of/your/store/var
rm -r cache

Replace root/folder/of/your/store with the path to your store on the server.

The cache folder will reappear and the cache will be generated again after someone opens your store in a browser.

Leave a Reply