aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/cache.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 16:34:32 +0200
committerMarvin Borner2018-07-20 16:34:32 +0200
commit74cb1477bb921a2378ea22a552b71a48c11e0931 (patch)
tree621ab17315be667c16dad8f3d5f44d67a7a47e8f /config/cache.php
parent400591b34d4b0a6288834539808a9dede8a60e3a (diff)
Better API (integrated oauth completely)
Diffstat (limited to 'config/cache.php')
-rw-r--r--config/cache.php17
1 files changed, 2 insertions, 15 deletions
diff --git a/config/cache.php b/config/cache.php
index fa12e5e..3ffa840 100644
--- a/config/cache.php
+++ b/config/cache.php
@@ -11,8 +11,6 @@ return [
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
- | Supported: "apc", "array", "database", "file", "memcached", "redis"
- |
*/
'default' => env('CACHE_DRIVER', 'file'),
@@ -46,19 +44,11 @@ return [
'file' => [
'driver' => 'file',
- 'path' => storage_path('framework/cache/data'),
+ 'path' => storage_path('framework/cache'),
],
'memcached' => [
'driver' => 'memcached',
- 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
- 'sasl' => [
- env('MEMCACHED_USERNAME'),
- env('MEMCACHED_PASSWORD'),
- ],
- 'options' => [
- // Memcached::OPT_CONNECT_TIMEOUT => 2000,
- ],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
@@ -86,9 +76,6 @@ return [
|
*/
- 'prefix' => env(
- 'CACHE_PREFIX',
- str_slug(env('APP_NAME', 'laravel'), '_').'_cache'
- ),
+ 'prefix' => 'laravel',
];