Using Revolution Slider with WP Rocket
WP Rocket is compatible with the Revolution Slider plugin.
Compatibility with the Load JavaScript deferred feature
When using our Load JavaScript deferred feature with Revolution Slider version 6.5.5 or higher the slider will not be displayed.
You can prevent this by adding the following in the Excluded JavaScript files text area under the Load JavaScript deferred feature:
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js /jquery-migrate(.min)?.js
Please note this exclusion will flag the jQuery file as «Render-blocking» on PageSpeed Insights.
Compatibility with the Delay JavaScript Execution feature
When using the Delay JavaScript Execution feature you may notice that it takes some time, or user's interaction for your slider that is located in the viewport, to appear.
You can prevent that, by adding these lines in the Excluded JavaScript files text area, under the Delay JavaScript execution feature:
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |'|"|>) /revslider/public/assets/js/ setREVStartSize rev_slider_ revslider_ window.RS_MODULES
Compatibility with LazyLoad Images
We automatically exclude images displayed by Revolution Slider from LazyLoad to ensure compatibility.