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