cache.php 1.42 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
<?php

return array(

	/*
	|--------------------------------------------------------------------------
	| Cache Driver
	|--------------------------------------------------------------------------
	|
	| The name of the default cache driver for your application.
	|
	| Caching can be used to increase the performance of your application
	| by storing commonly accessed data in memory or in a file.
	|
	| Supported Drivers: 'file', 'memcached', 'apc'.
	|
	*/

	'driver' => 'file',

	/*
	|--------------------------------------------------------------------------
	| Cache Key
	|--------------------------------------------------------------------------
	|
	| This key will be prepended to item keys stored using Memcached and APC to
	| prevent collisions with other applications on the server.
	|
	*/

	'key' => 'laravel',

	/*
	|--------------------------------------------------------------------------
	| Memcached Servers
	|--------------------------------------------------------------------------
	|
	| The Memcached servers used by your application.
	|
	| Memcached is a free and open source, high-performance, distributed memory
	| object caching system, generic in nature, but intended for use in speeding
	| up dynamic web applications by alleviating database load.
	|
	| For more information about Memcached, check out: http://memcached.org
	|
	*/

	'servers' => array(
		array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
	),	

52
);