Laravel Classroom image

Prashant  Nigam / Student / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  |1 | 2 | 3 | 4|Last
Lessons:-Caching

Caching
Laravel offers a very simple to use Caching class, allowing you to easily cache anything you
need to, for however long you like. Confused? Let’s take a look at it in action.
17.1 Setup
There are many ways to store your cached data you must set a driver stating which storage
method you want to use in application/config/cache.php. The options are ‘file’, ‘memcached’,
‘apc’, ‘redis’, and ‘database’. You may experience better performance with ‘apc’ or ‘memcached’
but I am going to use ‘file’ based caching for its simplicity to setup.
1 <?php
2
3 'driver' => 'file',

 
 
 

Prashant  Nigam

Skills    Laravel

Qualifications :-
Location :-,,,
Description:-
Explore
 

  Students (0)