PHP Classes

File: src/Settings/cache.php

Recommend this page to a friend!
  Packages of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   src/Settings/cache.php   Download  
File: src/Settings/cache.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 9 years ago
Size: 387 bytes
 

 

Contents

Class file image Download
<?php 
$cache = array(
    'httpCache' => array(
        'type' => 'public',
        'age' => 84600,
        'mustRevalidate' => false
    ),
    'filesystem' => array(
        'path' => APP_CACHE_PATH
    ),
    'redis' => array(
        'default' => array(
            'host' => '127.0.0.1',
            'port' => 6379,
            'protocol' => 'tcp'
        )
    )
);
return $cache;