FRiCKLE / ngx_cache_purge

nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
http://labs.frickle.com/nginx_ngx_cache_purge/
Other
1.06k stars 310 forks source link

Cache vs CORS #48

Closed senj closed 1 year ago

senj commented 8 years ago

I use CORS which adds the header Vary: Origin. This doesn't work with the cache purge implementation. If I turn off CORS it works again.

I wonder what the first line in the cache entry says. It also contains Origin, vim just outputs this as

^C^@^@^@^@^@^@^@^K▒~DW^@^@^@^@▒▒▒▒▒▒▒▒▒▒~DW^@^@^@^@~C▒Z▒^@^@▒^@
^B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^FOrigin^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@▒~R▒▒7▒^F▒#^S▒y(,^?▒