Purge All
GET
POST
Purges both the Edgemesh® Client and Server caches globally. Edgemesh® implements a stale while revalidate strategy and cached objects are revalidated on request. Purging the client cache will result in negative performance impacts while the cache is rebuilt and should be avoided if possible. Instead, let Edgemesh® automatically update the caches for the best-sustained performance.
This route is exposed as both a
GET
and aPOST
. This provides flexibility when used as a webhook endpoint. When requesting with theGET
method, all request parameters are provided via search parameters. When requesting with thePOST
method, the request parameters are sent in the request body.
Request Parameters
Response Properties
URL
https://api.edgemesh.com/2022-08/cache/purge/all
GETPurge All
POSTPurge All
Example Response