We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I cache a whole view?
The text was updated successfully, but these errors were encountered:
Even better, you cache the entire response ;)
Sorry, something went wrong.
I try return Response::view('pages.home',compact('var'))->setTtl(60); then when I refresh I am getting a blank page.
Any idea? could it be my settings?
'options' => array( 'debug' => true, 'default_ttl' => 60000, 'private_headers' => array('Authorization', 'Cookie'), 'allow_reload' => false, 'allow_revalidate' => false, 'stale_while_revalidate' => 2, 'stale_if_error' => 60, ),
any updates on this ?
No branches or pull requests
How can I cache a whole view?
The text was updated successfully, but these errors were encountered: