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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #cache
ADD COMMENT
Topic
Name
3+4 =