FRiCKLE/ngx_cache_purge

Cache vs CORS

senj opened this issue · 0 comments

senj commented

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(,^?▒