Hi @jmorley88
The cache in wp-content/uploads/cache is one that’s usually done by WordPress. To prevent it from happening, you can disable Caching in wp-config.php by adding define('WP_CACHE', false);
Simply add the above code directly above /* That’s all, stop editing! Happy blogging. */ and save the file and this should prevent caching that’s happening on that folder.
Alternatively, a great option can be to use a cache plugin to purge this cache. Plugins such as W3 Total Cache and WP Rocket can assist with this.
Hope this helps.
Kind regards,
Elvis.
Thanks, @elviiso,
That’s the first thing I tried but it looks like the plugin is overriding the WP Config files as the cache is still being created
Hi @jmorley88
So for some of the images in the folders that wp-content/uploads/cache folder, those are the thumbnails of the images created based on the image dimensions specified for the gallery and all of the thumbs for a specific image are inside a specific folder.
If you want to clear these caches for a particular gallery, you can easily do so by clicking on the “Clear Thumbnail Cache” button found on the lower right, which is shown in this liked image: https://prnt.sc/5mV8i0EM47lk
Kind regards,
Elvis.
Thanks again elviiso
I understand how to clear them but is there a way to limit them or turn them off?
hi @jmorley88
As long as the thumbnail engine is set to the default, then it will generate thumbs in the cache folder. If you use the shortpixel engine then it will not generate thumbs, so that is an option, but you will need an account with ShortPixel. You can change the engine from the FooGallery settings page
Hi @jmorley88
We haven’t heard from you in a while, so we presume the problem has been resolved and we’re closing this support ticket.
If you are still experiencing the problem, then please open a new support ticket.
Regards,
Elvis.