How to Manage WP Rocket With Slider Revolution

If you have the WP Rocket plugin installed and struggling with sliders not being shown on your website, this FAQ will help you resolve the issue.

WP Rocket and Slider Revolution

WP Rocket is a premium cache plugin that optimizes website loading time without applying any coding. It is one of the market’s best cache and speed optimization plugins.

Slider Revolution and WP Rocket are fully compatible together. But even so, some issues may occur.

This is because WP Rocket has some features that put JavaScript files on hold until the page is loaded to improve the page loading speed.

However, Slider Revolution is a dynamic plugin that needs its JavaScript files earlier to manage the module loading process properly. As such, if WP Rocket defers those required JavaScript files, it may prevent modules from appearing as expected.

Note: Slider Revolution files are well optimized through minification, so they will not negatively impact page loading time even when loaded early.

Let’s see how to ensure Slider Revolution JavaScript files load as required using WP Rocket.

Solutions to Ensure Loading of Required JavaScript

To ensure the timely loading of Slider Revolution’s required files, we must exclude its JavaScript from WP Rocket’s Load JavaScript Deferred and Delay JavaScript Execution features.

Load JavaScript Deferred Function

WP Rocket’s Load JavaScript Deferred feature asks the user’s browser to wait until the page HTML content is loaded before loading JavaScript files. This HTML content is static, such as text in headings and paragraphs.

The files this option puts on hold include all JavaScript files, even minified ones. This option is beneficial to speed up your website loading time. Slider Revolution modules are dynamic rather than static, so they need their JavaScript files loaded first to properly handle animations, images, videos, special effects, etc.

Let’s move on to the solution that will load modules perfectly without impacting your website’s loading speed.

Exclude Slider Revolution Files From the Load JavaScript Deferred Function

Go to your WordPress website dashboard:

WordPress Dashboard

Go to the WP Rocket plugin from Settings on the left sidebar:

WP Rocket under Settings

Click on the File Optimization tab:

File Optimization tab in WP Rocket plugin

Go to the JavaScript Files section:

JavaScript Files section

Then, select the Load JavaScript Deferred checkbox:

Select the Load JavaScript deferred checkbox

There you can insert the keywords listed below into the Excluded JavaScript Files textbox provided, as shown in the attached screenshot below:

/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js
/wp-includes/js/jquery/jquery-migrate.min.js
Add keywords/URLs to Excluded JavaScript Files under Load JavaScript deferred

Click the Save Changes button:

Click the button Save Changes

Delay JavaScript Execution Feature

WP Rocket’s Delay JavaScript Execution feature is similar to its Load JavaScript Deferred feature, putting all JavaScript files on hold until there is user interaction. For example, if a module is added in the middle of the page, this option would only load its JavaScript files when a user scrolled down with the mouse wheel to that part of the page.

This option can also cause issues with a module’s images or videos not being loaded, as JavaScript is required to manage that content appropriately.

Let’s add Slider Revolution’s files to the exception box of WP Rocket so the feature doesn’t affect module functionality.

Exclude Slider Revolution Files from Delay JavaScript Execution

Go to your WordPress website dashboard:

WordPress Dashboard

Go to the WP Rocket plugin from Settings on the left sidebar:

WP Rocket under Settings

Click on the File Optimization tab:

File Optimization tab under WP Rocket plugin

Go to the JavaScript Files section:

JavaScript Files Section

Then, select the Delay JavaScript Execution checkbox:

Delay JavaScript execution section

There you can insert the keywords listed below into the Delay JavaScript Execution textbox provided, as shown in the attached screenshot below:

/jquery-?[0-9.]*(.min|.slim|.slim.min)?.js
/wp-includes/js/jquery/jquery-migrate.min.js
/plugins/revslider/public/assets/js/
setREVStartSize
rev_slider_
revslider_
Add keywords/URLs to Excluded JavaScript Files under Delay JavaScript execution

Click on the Save Changes button:

Click the Save Changes button

Contact Us

If you’re still encountering difficulty, don’t hesitate to contact our support team via support ticket or email ([email protected]); we’re always happy to help.

How to Manage WP Rocket With Slider Revolution

The Author

Kashif Ahmed

Technologist, Writer, Philosopher, and above all a problem-solver. Living by the motto "Be the reason someone smiles today".

If you have any questions or concerns, feel free to reach out to me directly at [email protected].

Liked this Post?
Please Share it!

9 thoughts on “How to Manage WP Rocket With Slider Revolution

    1. Hello,

      thanks for contacting us! Your request requires one of our support agents to have a closer look.

      In order to give our clients the best support possible, we are having a support ticket system reachable via the link below.

      Please use it for your upcoming questions concerning one of our products. This will guarantee the fastest answer possible. Support requests here cannot be answered unfortunately. Thank you!

      Please use our ticket systems over at:

      https://support.sliderrevolution.com

      Cheers Dirk @ Slider Revolution

  1. Hello,

    I am having a problem with slider revolution and WP Rocket.

    Slider Revolution does not appear properly on my pages and they currently are with huge white spaces between the text area and the header menu.

    I followed your documentation for Deferring and Excluding JS, unfortunatelly without success.

    Please, help 🙁

    1. Hello,

      thanks for contacting us! Your request requires one of our support agents to have a closer look.

      In order to give our clients the best support possible, we are having a support ticket system reachable via the link below.

      Please use it for your upcoming questions concerning one of our products. This will guarantee the fastest answer possible. Support requests here cannot be answered unfortunately. Thank you!

      Please use our ticket systems over at:
      https://support.sliderrevolution.com or https://support.essential-grid.com

      Cheers Dirk @ Slider Revolution

      1. Sure, but I have bouth the theme with the Rev Slider attached to it. In your support ticket system you are asking for license key, that I don’t have and there is no way for me to find out.

        Hows is that possible for me to have it work and your support in this case?

        1. Hi,

          thanks for your email and the interest in our plugin. Also sorry to read about your struggles but we can only give support to our customers.

          As you have received the free version of our plugin bundled with a theme (you have not bought Slider Revolution with the theme, we have no premium contract with any theme author), there are two options:

          1. Please contact the theme author for support directly as she/he is responsable for supporting all bundled plugins https://help.market.envato.com/hc/en-us/articles/213762463-Bundled-Plugins#support , same goes for plugin updates https://help.market.envato.com/hc/en-us/articles/213762463-Bundled-Plugins#update

          2. If you need direct support from us or live updates, you can purchase a plugin license at a great price directly from us here: https://www.sliderrevolution.com/pricing

          The license key you receive will allow you to submit a ticket to our support system https://support.sliderrevolution.com where we can look into this for you.

          Also, as a premium member, you will receive the benefits listed here https://www.sliderrevolution.com/premium-slider-revolution/

          Cheers, Dirk @ Slider Revolution

    1. Thanks for reaching out! We’d be happy to help with your request. In order for us to look into this further, please submit a ticket on our support website here: https://support.sliderrevolution.com . This way we can ensure a prompt and efficient resolution for you. Let us know if you have any further questions or concerns. Thanks for using Slider Revolution!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newsletter

Join over 30.000 others on the Slider Revolution email list to get access to the latest news and exclusive content.