openresty / srcache-nginx-module

Transparent subrequest-based caching layout for arbitrary nginx locations.
http://wiki.nginx.org/NginxHttpSRCacheModule
476 stars 105 forks source link

srcache conflict with set-cookie header #70

Closed amewayne closed 6 years ago

amewayne commented 6 years ago

Recently I developed an application with php framework called Laravel, which will return set-cookie in every page. But I found that there is a conflict when return the response with set-cookie header, i wanna know if there is a way to solve this problem?

image

agentzh commented 6 years ago

@hqweiyu Ignoring the Set-Cookie header when doing caching is a clear violation of the HTTP standard RFC.

amewayne commented 6 years ago

@agentzh thanks.