Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel cache

Cache::put('key', 'value', $seconds);
Cache::rememberForever('users', function () {
    return DB::table('users')->get();
}); 
Cache::get('key');
Cache::has('key');
Cache::pull('key');
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #laravel #cache
ADD COMMENT
Topic
Name
9+3 =