You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to purge a cached GET request with the key associated with that request everything works just fine and the cached request is removed. But the same logic doesn't work when I try to purge a cached POST request. I get a response with 412 status code which means the key is not found I suppose.
The question is how to purge a cached POST request from NGINX cache with a key passed in the url path?
The text was updated successfully, but these errors were encountered:
That is what I have to initiate cache:
As it is shown I cache not only GET and HEAD methods but POST methods as well.
Purging is realized in a separate location with a key being passed within the url path:
When I try to purge a cached GET request with the key associated with that request everything works just fine and the cached request is removed. But the same logic doesn't work when I try to purge a cached POST request. I get a response with 412 status code which means the key is not found I suppose.
The question is how to purge a cached POST request from NGINX cache with a key passed in the url path?
The text was updated successfully, but these errors were encountered: