PHP 7.4.33
Preview: cache.php Size: 3.30 KB
/var/www/invoice-sync.bitkit.dk/httpdocs/config/cache.php
<?php

use Illuminate\Support\Str;

return [

    /*
    |--------------------------------------------------------------------------
    | Default Cache Store
    |--------------------------------------------------------------------------
    |
    | This option controls the default cache connection that gets used while
    | using this caching library. This connection is used when another is
    | not explicitly specified when executing a given caching function.
    |
    */

    'default' => env('CACHE_DRIVER', 'file'),

    /*
    |--------------------------------------------------------------------------
    | Cache Stores
    |--------------------------------------------------------------------------
    |
    | Here you may define all of the cache "stores" for your application as
    | well as their drivers. You may even define multiple stores for the
    | same cache driver to group types of items stored in your caches.
    |
    | Supported drivers: "apc", "array", "database", "file",
    |         "memcached", "redis", "dynamodb", "octane", "null"
    |
    */

    'stores' => [

        'apc' => [
            'driver' => 'apc',
        ],

        'array' => [
            'driver' => 'array',
            'serialize' => false,
        ],

        'database' => [
            'driver' => 'database',
            'table' => 'cache',
            'connection' => null,
            'lock_connection' => null,
        ],

        'file' => [
            'driver' => 'file',
            'path' => storage_path('framework/cache/data'),
        ],

        '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'),
                    'port' => env('MEMCACHED_PORT', 11211),
                    'weight' => 100,
                ],
            ],
        ],

        'redis' => [
            'driver' => 'redis',
            'connection' => 'cache',
            'lock_connection' => 'default',
        ],

        'dynamodb' => [
            'driver' => 'dynamodb',
            'key' => env('AWS_ACCESS_KEY_ID'),
            'secret' => env('AWS_SECRET_ACCESS_KEY'),
            'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
            'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
            'endpoint' => env('DYNAMODB_ENDPOINT'),
        ],

        'octane' => [
            'driver' => 'octane',
        ],

    ],

    /*
    |--------------------------------------------------------------------------
    | Cache Key Prefix
    |--------------------------------------------------------------------------
    |
    | When utilizing a RAM based store such as APC or Memcached, there might
    | be other applications utilizing the same cache. So, we'll specify a
    | value to get prefixed to all our keys so we can avoid collisions.
    |
    */

    'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),

];

Directory Contents

Dirs: 2 × Files: 20
Name Size Perms Modified Actions
Economic DIR
- drwxr-xr-x 2022-10-25 14:03:56
Edit Download
- drwxr-xr-x 2022-10-25 14:04:00
Edit Download
9.43 KB lrw-r--r-- 2023-12-20 04:43:18
Edit Download
3.69 KB lrw-r--r-- 2023-12-20 04:43:28
Edit Download
1.73 KB lrw-r--r-- 2023-12-20 04:43:11
Edit Download
3.30 KB lrw-r--r-- 2023-12-20 04:43:27
Edit Download
880 B lrw-r--r-- 2023-12-20 04:43:24
Edit Download
5.08 KB lrw-r--r-- 2023-12-20 04:43:13
Edit Download
2.30 KB lrw-r--r-- 2023-12-20 04:43:15
Edit Download
836 B lrw-r--r-- 2023-12-20 04:43:23
Edit Download
1.59 KB lrw-r--r-- 2023-12-20 04:43:15
Edit Download
3.60 KB lrw-r--r-- 2023-12-20 04:43:19
Edit Download
3.61 KB lrw-r--r-- 2023-12-20 04:43:20
Edit Download
1.28 KB lrw-r--r-- 2025-09-22 05:06:15
Edit Download
1.63 KB lrw------- 2023-12-20 04:43:12
Edit Download
2.93 KB lrw-r--r-- 2023-12-20 04:43:30
Edit Download
2.30 KB lrw-r--r-- 2023-12-20 04:43:21
Edit Download
16.24 KB lrw-rw-r-- 2023-12-20 04:43:26
Edit Download
2.03 KB lrw-r--r-- 2023-12-20 04:43:16
Edit Download
983 B lrw-r--r-- 2023-12-20 04:43:22
Edit Download
7.07 KB lrw-r--r-- 2023-12-20 04:43:29
Edit Download
1.06 KB lrw-r--r-- 2023-12-20 04:43:06
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).