Laravel Classroom image

Prashant  Nigam / Student / Web Technology

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

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
3 'driver' => 'file',


Prashant  Nigam

Skills    Laravel

Qualifications :-
Location :-,,,

  Students (0)