Property Manager Name: Cache POST Responses
By default, POST requests are passed to the origin. This behavior overrides the default and allows you to cache POST responses.
Options
- enabled (boolean): Enables caching of POST responses.
- useBody (enum string): Define how and whether to use the POST message body as a cache key:
- IGNORE uses only the URL to cache the response.
- MD5 adds a string digest of the data as a query parameter to the cache URL.
- QUERY adds the raw request body as a query parameter to the cache key, but only if the POST request’s Content-Type is application/x-www-form-urlencoded. (Use this in conjunction with cacheId to define relevant query parameters.)