• Resolved Jmorley88

    (@jmorley88)


    I am working on a site using FooGallery and FooBox.

    The Enable HTML Cache is unticketed but I am still seeing caching appearing here – domain.com/wp-content/uploads/cache

    Is there any way to disable this as the site has a lot of galleries and the cache can sometimes get so big it takes down the site

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support elviiso

    (@elviiso)

    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.

    Thread Starter Jmorley88

    (@jmorley88)

    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

    Plugin Support elviiso

    (@elviiso)

    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.

    Thread Starter Jmorley88

    (@jmorley88)

    Thanks again elviiso

    I understand how to clear them but is there a way to limit them or turn them off?

    Plugin Author bradvin

    (@bradvin)

    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

    Plugin Support elviiso

    (@elviiso)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Caching’ is closed to new replies.