I use file drive for session, but each new request will generate a new session file.
Haven't seen this before. Probably you're nginx is configured the wrong way. Can you give more information? Is this on a fresh install? Is this on homestead? Is this in production? Which versions?
Problem solved.
caused by @endsection in the blade template,solved by changing to @stop.
maybe this should be mentioned in document.
It works like a charm, thanks
@ileodo thanks, but mind to explain the logic behind that?
@fahmilatib It seems like the @endsection is only a close tag of @section in terms of template but not the rendering stuff.
This works for me. But I still don't understand why. Could anyone please explain? Appreciate!
Both tags compile identically, something else must be happening.

Most helpful comment
Problem solved.
caused by
@endsectionin the blade template,solved by changing to@stop.maybe this should be mentioned in document.