OcEx - Модули и решения для OpenCart

How to clear the cache and disable caching in OpenCart 3

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

1. VQMod

2. OCMod

3. Image cache

4. System cache

5. Clearing the cache from the admin panel


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

VQMod cleanup

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

Navigate to the /vqmod directory located in the root directory of the site using a file manager or any FTP client.

Delete the mods.cache file.

Go to the cache directory and delete all files.


OCMod cleanup

You need to delete files from the /system/modification directory:


Go to the /system/modification or /system/storage/modification directory (depending on the version), located in the root directory of the site, using a file manager or any FTP client (the full path will look something like this: example.com/www/system/modification ).

Delete all files from the open modification directory.

In the latest versions, you also need to go to the "Add-ons → Modifications" section in the site's admin panel and click the clear cache button:


Clearing the image cache

You need to delete all files from the /image/cache directory.


Clearing the system cache

You need to delete all files from the /system/cache directory.


Clearing the cache from the admin panel

In the latest versions of OpenCart, you can clear the style and theme cache directly in the site's admin panel:


You can also download third-party modules that perform these actions. You can find them by searching for Cache clear on the Opencart.Com website.