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.
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?
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.
Okay, does Simple Colorbox work with the mini plugin?
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.
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.