wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Dynamic Inclusion and Exclusion Lists For WP Rocket

Open GeekPress opened this issue 4 years ago • 0 comments

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.

full doc

GeekPress avatar Feb 17 '21 08:02 GeekPress