Compatibility with WP Rocket
-
Hello Frank,
I decided to test WP Rocket as a cache and it is pretty fast but their optimization is not as good as yours.
So I tried to combine plugins but is throwing some errors on the front-end whenever I enable Autoptimize.
This is the error:
jQuery(document).ready(function() { var imgs, i, w; var imgs = document.getElementsByTagName( 'img' ); for( i = 0; i < imgs.length; i++ ) { w = imgs[i].getAttribute( 'width' ); imgs[i].removeAttribute( 'width' ); imgs[i].removeAttribute( 'height' ); } });
I even put the initialize earlier but still the same.
I did not enable any optimizations on their cache plugin.
I can email you the link of the site if you wish.
Thanks again!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Compatibility with WP Rocket’ is closed to new replies.