Hello,
When driver.session is set to something different than "array", each webpage content a response header Set-Cookie "laravel_session" which is different from user's request header Cookie.
My goal is to use Varnish in front of Laravel (to cache public content), but this Set-Cookie on each request is really annoying (this don't help to improve varnish cache ratio... except if you ignore them...)
One solution is to set driver.session to array but this setting disable Auth:: to work fine..
Is that normal for Laravel to reply a Set-Cookie on each request ? included offline user (i cleared cookie before my test) ?
Is there a solution ?
Is someone using laravel with Varnish ? and how did you solve this problem?
Regards,
This is my problem: https://github.com/laravel/framework/issues/726
Do you plane fix it ? honnestly guys this is against all 2015's websites.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community