2.13.4.11. Clearing the cache in OpenCart

There are several types of cache in OpenCart, each of which can be cleared using the appropriate instruction:

Clearing the cache is useful in situations when the changes made on the site are not visible or there are problems with displaying content due to the cache.

To clear VQMod, you need to delete the file mods.cache and files from directory cache:

  1. Go to the directory /vqmodlocated in root directory of the site, by using filemanager or any FTPclient.
  2. Delete the file mods.cache.
  3. Go to the directory cache and delete all files.

To clean OCMod, you need to delete files from the directory /system/modification:

  1. Go to the directory /system/modification or /system/storage/modification (depending on version) located in root directory of the site, by using filemanager or any FTPclient (the full path will look something like this: example.com/www/system/modification).
  2. Delete all files from open directory modification.
  3. In the latest versions, you also need to adminpanels site go to section "Supplements → Modifications" and click on the clear cache button:

To clear the image cache, you need to delete all files from the directory /image/cache.

To clear the system cache, you need to delete all files from the directory /system/cache.

V adminpanels Latest versions of OpenCart, you can clear the style and theme cache using the built-in functionality. To do this, follow these steps:

Content