Setting up the XCache Cache Driver


You want to speed up Laravel's cache.

You know by default Laravel uses the file cache driver. You want to use a speedier cache.


Use the XCache cache driver.

Edit app/config/cache.php and change the driver to 'xcache'.

    'driver' => 'xcache',


To use the cache driver make sure XCache is installed and set up first. See the Installing XCache recipe for details.

You must change the xcache.var_size setting as described in the Installing XCache recipe for XCache to work with Laravel.

comments powered by Disqus