Docs menu
Get started
What is Opus GrowthQuickstartAdd to your AIHow it worksSafety and approvalCreditsPlansFAQAI apps
All AI appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOther MCPConnect ad platforms
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencies and MCCConnect data sources
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWebsites and SEO
AI ServerWordPressSEO IntelligenceClick fraudTool reference
All toolsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceClick fraudCross-channelAccount and billingLanguage
Set WordPress Speed Settings
Turn a WordPress site's speed optimisations on or off, and undo them in one step if the site breaks.
- Type
- Makes changes
- Credits
- 1
- Platform
- WordPress
- Approval
- Preview first, applied after you approve
What it does
Turn a WordPress site's speed optimisations on or off, and undo them in one step if the site breaks.
The lowest-risk settings are page_cache, browser_cache, minify_css, minify_js and lazy_load. These rarely break a site and give most of the speed.
combine_css, combine_js, defer_js, css_async and guest_mode are the ones that break Elementor and Slider Revolution pages, so they are refused unless you pass confirm_risky=true. Turn them on one at a time and look at the site afterwards. If something breaks, revert=true undoes the MOST RECENT change only, so change a little at a time. exclude=["revslider","elementor"] keeps named scripts out of the deferring or combining, which is the usual fix when a slider stops rendering.
The exclusion list is editable both ways. exclude_from picks the list — "defer", "combine" or "lazy" — and exclude_mode says what to do with the names you pass: "add" (default), "remove" to take entries back out, or "replace" to make the list exactly what you passed (pass an empty list with replace to clear it). Every call returns the FULL list so you can see what is in it, and wordpress_get_performance also reports all three lists. This matters when you are tuning: excluding a hero background image fixes layout shift but can undo the loading-speed win, so you need to take single entries back out and measure again.
clean_dropin=true removes a leftover wp-content/advanced-cache.php whose owning plugin is no longer active. That file is the usual reason every cache plugin fails to activate with a server error: a new one refuses to overwrite a drop-in belonging to a different plugin. It is backed up first, and refused outright if the owning plugin is still active.
LITESPEED IMAGE AND LAYOUT-SHIFT SETTINGS are not switches here; set them with wordpress_option on the `litespeed.conf.*` name. LiteSpeed stores them as text, "1" for on and "" for off, so read first and write value="1" (not value_json=true): `litespeed.conf.media-add_missing_sizes` adds width/height to images that lack them, the usual fix for a high CLS with "images without explicit width and height". It only works while lazy_load is on. `litespeed.conf.media-placeholder_resp` reserves space for lazy images and `litespeed.conf.media-lqip` shows a blurred preview in that space. `litespeed.conf.img_optm-auto` makes LiteSpeed send unoptimised media library images to QUIC.cloud for compression on its own cron; progress is in `litespeed.img_optm._summary` (img_taken, reduced in bytes, last_pulled). A direct option write does not purge the cache; wordpress_purge_cache does.
MCP: wordpress_set_performance
How to use it
You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.
Parameters
| Name | Type | Required | Default | |
|---|---|---|---|---|
| page_cache | boolean | Optional | · | Page cache value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| browser_cache | boolean | Optional | · | Browser cache value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| minify_css | boolean | Optional | · | Minify css value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| minify_js | boolean | Optional | · | Minify js value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| lazy_load | boolean | Optional | · | Lazy load value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| combine_css | boolean | Optional | · | Combine css value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| combine_js | boolean | Optional | · | Combine js value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| defer_js | boolean | Optional | · | Defer js value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| css_async | boolean | Optional | · | Css async value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| guest_mode | boolean | Optional | · | Guest mode value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| confirm_risky | boolean | Optional | false | Whether to enable confirm risky for this operation. |
| exclude | array | Optional | · | Exclude value for wordpress set performance. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| exclude_from | string | Optional | defer | From to exclude from this operation's result or change. |
| exclude_mode | string | Optional | add | Mode to exclude from this operation's result or change. |
| revert | boolean | Optional | false | Whether to enable revert for this operation. |
| clean_dropin | boolean | Optional | false | Whether to enable clean dropin for this operation. |
| site_url | string | Optional | · | Exact URL of the connected WordPress site to target when more than one site is available. |
Related tools
list_wordpress_sitesBulk Find & Replace (WordPress)wordpress_bulk_replaceWordPress WP-CLI Commandwordpress_cliList WordPress Contact Formswordpress_contact_formsWordPress Core Info Fileswordpress_core_filesCreate WordPress Postwordpress_create_postWordPress Critical CSS (status / regenerate)wordpress_critical_cssEdit WordPress Menuwordpress_edit_menuEdit WordPress Page Designwordpress_edit_page_design