sites
Cache Preload Status
Changed onGet whether Cache Preload is on for a site, how far the current crawl has got, and any warnings that apply.
get/sites/{id}/cache-preload
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"enabled": true,
"state": "running",
"urls_preloaded": null,
"urls_found": 42,
"searching": true,
"warnings": [
{
"code": "small_site",
"message": "This site has 5 or fewer PHP workers. While Cache Preload runs, especially after a full cache purge, it can push the site into burst or slow it down. Watch the site's usage, or add PHP workers."
}
]
}
}Changes
- info
endpoint added
- info