2.14.3.11. Clear cache in OpenCart

In OpenCart, several cache types exist, and you can clear each one by using the corresponding instruction:

Cache clearing is useful when changes are not visible on the site or when content display issues occur due to caching.

You must delete the mods.cache file and files from the cache directory:

  1. Go to the /vqmod directory located in the site root directory by using file manager or any FTP client.
  2. Delete the mods.cache file.
  3. Go to the cache directory and delete all files.

Delete files from the /system/modification directory:

  1. Go to the /system/modification or /system/storage/modification directory (depending on version) located in the site root directory using file manager or any FTP client (full path will look approximately like this: example.com/www/system/modification).
  2. Delete all files from opened directory modification.
  3. In recent versions, you also need to go to the "Extensions → Modifications" section in the site admin panel and click the cache clear button:

Delete all files from the /image/cache directory.

Delete all files from the /system/cache directory.

In recent OpenCart versions, you can clear style and theme cache directly in site admin panel:

Content

    (1)