• Resolved readonly24

    (@readonly24)


    Hello,

    when I want to show some photos in a WP article I’m using JG since years and I’m super happxy with it. Thanks for providing it. Normally I just use “[gallery orderby=name]“

    Recently I wanted to try using a WP cache, I tested Cache Enabler, WP Super Cache and LiteSpeed Cache but with all of them JG didn’t work very well. I only could see the first image of the gallery over even none. Deleting the cache and reload the article shows the correct gallery, reload again (now from cache) is as described above.

    Is this a known problem or am I doing something wrong?

    Thanks in advance.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mateusz Czardybon

    (@matczar)

    Hi,

    I just checked the Cache Enabler plugin and in general Justified Gallery works fine with it. Only with the option “Minify HTML in cached pages including inline CSS and JavaScript.” stopped, but it seems the plugin was too aggressively minifying the JavaScript code.

    After changing to “Minify HTML in cached pages excluding inline CSS and JavaScript.” and enabling other plugin options, the gallery works fine.

    In general, there should be no problem working with cache plugins, unless they minify inline JavaScript code too aggressively.

    Thread Starter readonly24

    (@readonly24)

    Hey Mateusz,

    thanks for the hint. I will try it again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JG and cache’ is closed to new replies.