Clearing Cache in a Browser
You can clear the cache by adding parameters to URLs in your browser:
- Open the Administration Panel.
- Add the
ccparameter to the URL, so that it would look like this:
or like this:
- 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
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.