wp-rocket
wp-rocket copied to clipboard
Dynamic Inclusion and Exclusion Lists For WP Rocket
What are we proposing to do?
WP Rocket includes many default inclusion and exclusion lists for some of our features. For example, we maintain a list of keywords for inline scripts to be excluded from JavaScript combination. Instead of hard-coding the list within WP Rocket, we are proposing to save them on our server and pull them dynamically from the plugin.
In other words, these keywords will be saved on our server and WP Rocket plugin will read them periodically. A copy of the list will be stored locally on the WordPress installation.
As part of the plugin package, a copy of the JSON / XML file will be included and this will act as fallback in case the dynamic update fails.