Dynamic Exclusions and Inclusions
The following features use dynamic exclusions and inclusions:
- Remove Unused CSS
- Load JavaScript deferred
- Delay JavaScript execution
- Minify and Combine JavaScript files
- Caching query strings
All new exclusions and inclusions required for compatibility, i.e. prevent WP Rocket from breaking a site's layout or functioning, are stored in WP Rocket's cloud and distributed in specific lists for specific features.
The lists are downloaded to your site automatically every week. This way, you don't need to download new plugin versions to get advantage of new compatibility updates.
You can also download the lists manually if you want to. For this, please use the Update Lists button in the Tools tab, here:
In order to run the updates, this feature relies on cron. For this, it uses a cron event called rocket_update_dynamic_lists
. Additionally, the 152.228.165.39 IP should be allowed in your server.
If by any reason your server setup can't run the automatic downloads of the lists, every update of WP Rocket will include an updated JSON file to be used as fallback.
Note: any custom exclusions and inclusions you've added using the different boxes in WP Rocket settings page will still be applied.