PHP Classes

File: src/Settings/cache.php

Recommend this page to a friend!
  Classes 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: 7 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;