Table of Contents
Last update on
What could be more thrilling than the discovery of water on Mars?? Here at Mission Control, a close second is a new version of WP Rocket!
Version 3.1 is now in orbit and ready for docking with your website. You won’t want to miss these stellar new features!
Host Google Analytics Locally
Unless you’re a huge fan of irony, you may be tired of Google telling you to “leverage browser caching” for their Analytics tracking files.
In 3.1 we’ve introduce a new one-click, Google Tracking add-on to take care of hosting these files locally. This means that the correct browser caching rules can be applied… “Leverage browser caching” warnings be gone!
⚠️ Update: As of WP Rocket 3.9, the Google tracking add-on is not in place anymore. We now recommend enabling the Delay JavaScript execution option to optimize 3rd party scripts and address the PageSpeed Insights audit. |
Minify & Combine Inline JavaScript and External JavaScript
Another pain point of Google PageSpeed is the infamous “remove render-blocking JavaScript” message.
In 3.1 we’ve revamped our minify and combine JS feature. This one should make getting rid of render-blocking JS messages a breeze. Now when you activate Combine JavaScript Files, we take all inline JS code and all external JS files and include them in one combined JS file loaded in the footer of your site. Voila, no more render-blocking!
Activate it in: File Optimization > JavaScript Files > Minify, Combine
![WP Rocket - Minify and Combine JavaScript](https://wp-rocket.me/wp-content/uploads/1/minify_combine_js-1024x357.jpg)
Optimization of WooCommerce’s get refreshed fragments
If you run speed tests for your site you’ll be used to seeing that long bar for:?wc-ajax=get_refreshed_fragments
![amerce -get_refreshed_fragments](https://wp-rocket.me/wp-content/uploads/1/get_refreshed_fragments.jpg)
In WP Rocket 3.1, that request will be optimized to reduce the load time.
Activate it in: In 3.1, WP Rocket automagically optimizes and shortens this request. There’s no need to activate this feature, it just happens!
Compatibility for WPML and WooCommerce Multilingual
We also have an important new compatibility to announce between WPML and WooCommerce Multilingual. Now changing currency is caching compatible so that prices are correctly displayed. Meteor-sized thanks go to David Watkins for making that happen!
Requirements
In WP Rocket 3.1 the minimum WordPress requirement has been increased from 4.2 to 4.7. The PHP requirement remains 5.4 or higher.
Version 3.1 also contains numerous other bug fixes and enhancements!
Read all the details in our changelog
If you’re a customer of WP Rocket, consider joining our Facebook community for WP Rocket users. Share your success stories as well as product feedback.