forked from FRiCKLE/ngx_cache_purge
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I have a scenario where the upstream server (in this case Django) may set a few vary headers. I do ignore Set-Cookie in the Nginx configuration.
- Visit
/path/
from a web browser -> creates a file in the cache directory. - Visit same
/path/
with curl -X GET from a command line on the webserver -> creates another file in the cache directory.
I assume this is because of different Accept-Encoding's and I understand the reasoning.
Now, when I issue curl -X PURGE http://localhost/path/
only the cached file from (2) is deleted.
Is there a way to tell the module to consider only the cache key, no other headers, when determining which cached files to delete?
taosx
Metadata
Metadata
Assignees
Labels
No labels