6
I’m trying to cache my query, but I don’t know how to recover the data later. Another question: when the number of rows in the database increases, it automatically caches the query, or every time I enter the page it caches the query again?
$value = Cache::remember('users', 50, function()
{
return DB::table('users')->with('ucomments')->get();
});
To the Laravel community: We are discussing something relevant with your tag here: http://meta.answall.com/questions/310/como-trata-tags-em-arvore. And we still have important information for you here: http://meta.answall.com/questions/300/diretrizes-for-creation-tag-wikis. I take this opportunity to congratulate everyone for what they are doing here at Sopt.
– Maniero