Page Cache with AI
Let an AI assistant check, set up, test and clear Page Cache through UiChemy's MCP tools, with the same rules and safety limits as the dashboard.
An AI assistant connected to your site through UiChemy's MCP server can run Page Cache for you. It uses the same settings and the same checks as Performance → Page cache, so the screen and the assistant never disagree. Only administrators can use these tools.
For how to connect an assistant, see the MCP tools reference.
The Tools
These tools belong to UiChemy's performance ability.
| Tool | What it does |
|---|---|
get-cache-settings | Reads the settings and the status: who caches, whether it is on, usage numbers and how full the cache is. |
set-cache-settings | Changes settings with the same checks as the dashboard. Pass only the keys to change. {"mode":"auto"} turns the cache on, {"mode":"off"} turns it off. |
cache-status | Says whether a URL or a post is cached, by UiChemy or the host, and why not if it is not. Returns HIT, MISS or BYPASS, with a reason and a fix. |
cache-test | Loads the home page twice as a logged-out visitor and reports which cache served it and how long it took. It also checks your host again. |
cache-clear | Clears one page, a list of pages or everything. It also clears the host and Cloudflare cache when they are connected. |
Things to Ask
- "Is page caching on? Show me the hit rate."
- "Turn on page caching and test it."
- "Why isn't my pricing page cached?"
- "Never cache everything under /members/."
- "Ignore the fbclid and utm parameters."
- "Clear the cache for the About page."
- "Clear the whole cache."
What the Assistant Will Not Do
- Switch off the built-in safety rules. They stop personal pages from being shown to other visitors. It can add exclusions but not remove these rules.
- Cache pages for logged-in users. UiChemy never does that.
- Overwrite another plugin's cache. If another plugin owns page caching, you have to deactivate it first.
- Read your Cloudflare token. Only the last four characters are ever shown.
- Change Pro settings without Pro. Preload settings return a message that Preload is part of UiChemy Pro.
The cache is off by default. A good assistant turns it on only when you ask. On a managed host, My host's cache is normal and correct, so it will not push you toward UiChemy's cache.