cache
Query the LOCAL CACHE of every page this server has fetched and every search it has run. Check here BEFORE re-fetching or re-searching — a hit is instant and free while a fresh fetch costs 5-60s. Use query for full-text search (works for Chinese substrings and English words), get to pull a page's full cached content, stats for counts, clear to delete rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | With clear: delete everything cached for this caller | |
| get | No | Return the FULL cached content of this exact URL instead of listing hits | |
| url | No | Only rows whose URL contains this substring | |
| kind | No | Which rows to search: "auto" (default, pages + searches), "pages", or "searches" | |
| clear | No | Delete matching rows instead of returning them (requires url, since_hours, or all) | |
| limit | No | Maximum rows returned (default: 10, max 100) | |
| query | No | Full-text search over cached page contents, titles, URLs and past search queries. Omit to list the latest rows. | |
| stats | No | Return row counts and database size instead of rows | |
| since_hours | No | Only rows stored within the last N hours |