Open cemarta7 opened 9 years ago
Even better, you cache the entire response ;)
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 ?
How can I cache a whole view?