New Landing How can we help? Themeforest Theme Support Supreme Masonry Layout Break – W3 Total Cache Conflict

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Supreme
  • #26029

    I just realized that my caching plugin W3 Total Cache will break the masonry layout when I have minify JS turned on and in any alternate setting of the minify JS option. Is there a specific JS file that produces the masonry effect that I can call out to not be minimized?

    Or do you guys have another work around?

    Thanks!

    #26163
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    The files used for Masonry are:

    – js/jquery.isotope.min.js
    – js/functions.js

    However, the Masonry plugin (and for that matter, the whole JS functionality) can also break down if you have any JS error on your site – so even if you don’t minify those two, there may be other JS files that break when minified by that plugin, resulting in a broken site.

    I’ve always found JS minification in caching plugins, not working as intented, especially as complexity grows. What I personally do instead, is turn on gzip on the server and use Cloudflare (and I never needed JS minification in Cloudlfare either – works fine with ±3000 uniques a day).

    Hope that helps.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register