Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #801908

    thelistener
    Participant

    Hola X Universe!

    I am using WP-Rocket for my X-sites and would like to use the CSS and JS minification features. But I get a warning when I click them about breaking the site. Has anyone here had success using the plugin while also using Revolution Slider? I’ve tried minification features with other cache plugins and have always had to undo them because the slider and other elements (font awesome icons, etc) would break. I’d love to get a tutorial from experienced X and WP-Rocket users.

    #801921

    Jack D
    Participant

    I use WP-Rocket on my site with absolutely no problem. Cant’t give you a tutorial I just use the default settings

    #802112

    thelistener
    Participant

    Did you activate the minification options for CSS and JS? Also, does your X site use Slider Revolution?

    #802662

    Darshana
    Moderator

    Hi there,

    Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thanks for understanding.

    #803456

    thelistener
    Participant

    I’ve been tweaking things and realized that minification really isn’t an option that is helpful for X. I did add //ajax.googleapis.com to the Prefetch field in the Advanced section of the plugin. Has any other users have any similar tweaks, especially if you’re also using slider revolution?

    #804243

    Rad
    Moderator

    Hi there,

    The problem with WP Rocket loader is the way it loads the files. It will load them asynchronously disregarding the correct loading order. For example, the libraries should be loaded first before a script. But the script is randomly loaded before the library since it’s asynchronous. And that breaks the script since the library is only loaded last.

    It’s a good way in optimization. But there is always a downside, especially that WordPress are set of theme and plugins that are dependent on different libraries or scripts. And they should be loaded in correct order.

    If there is an option for exclusion, then you can use browser developer tools to inspect which CSS and JS files are in use, then add them to exclusion.

    Thanks!