I'm using the following, but this header is not set.
return Response::view('doNotWantCachingOnThis')
->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0', true);
I can set any other header I wish.
Why is Laravel ignoring/overwriting this one?
It appears that only this view, and only in Chrome, is retrieved from the browser cache, so I'm trying to force it to always re-download it.
Turns out I can use the following
->header('Expires', '0', true)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community