WordPress.org

Ready to get started?Download WordPress

Forums

Simple Colorbox
Compatible with the new W3 Total Cache 0.9.2.8? (7 posts)

  1. asterbird
    Member
    Posted 1 year ago #

    I was wondering if anyone has advice for how to keep the simple colorbox working after enabling W3 Total Cache plugin, especially the object and browser cache.

    I don't think it's just this plugin's issue, as I've have issues with other gallery plugins (colorbox and simplebox I think) and W3 Total Cache.

    Is anyone using this plugin with W3TC?

    http://wordpress.org/extend/plugins/simple-colorbox/

  2. Ryan Hellyer
    Member
    Plugin Author

    Posted 1 year ago #

    Is it possible that you were using the minify and/or script concatenation settings within W3 Total Cache?

    They're the only things I can think of which would cause this problem.

    I use Batcache on my own sites and don't have any trouble using it with Simple Colorbox.

  3. asterbird
    Member
    Posted 1 year ago #

    Yes, I was using the minify and combine because that's the only way W3TC will defer parsing.

    Google Pagespeed is saying I should "defer parsing of Javascript to reduce blocking of page rendering". The only files i have are jQuery, the JS from Simple Colorbox, and the inline JS from Simple Colorbox.

    Can Batcache load the JS async? I tried installing "Batcache", but when activating, the plugin changes to "Batcache Manager" with no settings. Where to get the Batcache plugin?

  4. Ryan Hellyer
    Member
    Plugin Author

    Posted 1 year ago #

    Batcache is only useful if you have an object cache backend installed. I installed APC on my server and run the "APC" object caching plugin by Mark Jaquith.

    http://wordpress.org/extend/plugins/batcache/
    http://wordpress.org/extend/plugins/apc/

    Neither do anything with your HTML.

    For loading JavaScript I often use the minit plugin ... https://github.com/kasparsd/minit/

    W3 Total Cache is more user friendly, but also more bloated and tends to be more buggy since it has so many features.

  5. asterbird
    Member
    Posted 1 year ago #

    Okay, does Simple Colorbox work with the mini plugin?

  6. Ryan Hellyer
    Member
    Plugin Author

    Posted 1 year ago #

    It should do.

    I have found a few cases in which Minit didn't work, but they were very fairly weird edge cases where I was doing strange things with CSS file locations.

  7. asterbird
    Member
    Posted 1 year ago #

    The Minit combined the files, and didn't break the site. Good.
    But the JS is not compressed and does not load asynchronosly. Bad.

    I also have a lower pagespeed score with minit than without minit.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic