nicolasazrak / caddy-cache

Caching middleware for caddy
Mozilla Public License 2.0
110 stars 30 forks source link

Conflicts with cors plugin #51

Open leangl opened 5 years ago

leangl commented 5 years ago

When used in conjuction of the cors plugin, it returns the cors headers from the cached version instead of the currrent request. I have no idea how caddy plugins work, but I imagine this plugin should take effect first and hand off the cached value to the cors plugin so it can update the headers accordingly.

leangl commented 5 years ago

Probably related to https://github.com/nicolasazrak/caddy-cache/issues/49