• Resolved Andries Jansen

    (@jansencws)


    Hello,

    I use Autoptimize and WP Rocket together, works great. But if I use the option, in WP Rocket, to remove querystrings from static files, the javascript files seal.js, js/jquery/jquery.js won’t be excluded from optimalization in Autoptimize. The option ‘Remove querystrings’ is important to me for two reasons:
    1. (little) better performance
    2. a lot of hackingtools use the querystrings to find installed plugins and themes, this doesn’t work anymore with this option switched on.

    Autoptimize: 2.2.2
    WP Rocket: 2.10.6

    Regards,
    Andries

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Morgend Andries;
    with that option wp rocket moves e.g. jquery from wp-includes/js/jquery/jquery.js?ver=1.12.4 to wp-content/cache/busting/1/wordpress-wp-includes-js-jquery-jquery-1.12.4.js, so you’ll have to adjust AO’s exclusions to match those files Andries.

    Hope this helps,
    frank

    Thread Starter Andries Jansen

    (@jansencws)

    Hello Frank,

    You’re right, but then I’ve to check all my sites everytime the jquery version changes.

    Regards
    Andries

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, you could alternatively exclude /wordpress-wp-includes-js-jquery-jquery ??

    Thread Starter Andries Jansen

    (@jansencws)

    Hello Frank,

    Thanks, it works! Pagespeed Score: 98%, no javascript errors and querystrings removed.

    Regards,
    Andries

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    graag gedaan Andries ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Rocket/Autoptimize – remove querystrings’ is closed to new replies.