Update WP Rocket detection

Add new detection for WP Rocket to grab websites using Remove Unused CSS and Delay JS features
main
Jonathan Buttigieg 2 years ago
parent bfd5b192c6
commit 967cf58b83

@ -208,7 +208,11 @@
"X-Powered-By": "WP Rocket(?:/([\\d.]+))?\\;version:\\1", "X-Powered-By": "WP Rocket(?:/([\\d.]+))?\\;version:\\1",
"X-Rocket-Nginx-Bypass": "" "X-Rocket-Nginx-Bypass": ""
}, },
"html": "<!--[^>]+WP Rocket", "html": [
"<!--[^>]+WP Rocket",
"RocketLazyLoadScripts"
],
"dom": "style#wpr-usedcss",
"icon": "WP Rocket.png", "icon": "WP Rocket.png",
"js": { "js": {
"RocketPreloadLinksConfig": "", "RocketPreloadLinksConfig": "",
@ -221,7 +225,7 @@
"requires": "WordPress", "requires": "WordPress",
"saas": true, "saas": true,
"scriptSrc": "/wp-content/plugins/wp-rocket/", "scriptSrc": "/wp-content/plugins/wp-rocket/",
"website": "http://wp-rocket.me" "website": "https://wp-rocket.me"
}, },
"WP-Optimize": { "WP-Optimize": {
"cats": [ "cats": [

Loading…
Cancel
Save