WPAccel
WPAccel objectThe WordPress page cache (Cache Enabler served by IIS) and object cache (Redis Object Cache on the site's own Garnet), ADR 0119
pageboolean requiredThe site has the page cache now
objectboolean requiredThe site has the object cache now
want_pageboolean requiredwant_objectboolean requiredworkingboolean requiredA change or an emptying is running
actionstring requiredAllowed values:"""change""purge"statestring requiredAllowed values:"""applied""rolled_back""unhealthy""failed"reasonstring requiredWhy the last change was rolled back or not made
error_codestring requiredallowedboolean requiredThe plan includes it
object_availableboolean requiredThe server runs Garnet
policystring requiredAutomatic tuning in effect (ADR 0116)
Allowed values:"auto""suggest""off"suggestboolean requiredcache_mbinteger requiredcache_idstring requiredThe site's own cache on the Caches page; empty when none
updated_atstring (date-time) | null required
Used by
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel | The site's WordPress page and object cache |
| PUT | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel 202 | Turn the page and object cache on or off; the server checks the site before and after and undoes the change if it answers differently or serves a cached page to a signed-in visitor |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel/purge 202 | Empty the page and object cache |