PHP code example of scavix / wdf-globalcache

1. Go to this page and download the library: Download scavix/wdf-globalcache library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

scavix / wdf-globalcache example snippets


$GLOBALS['CONFIG']['globalcache'] =
[
    'CACHE' => 'globalcache_CACHE_FILES|globalcache_CACHE_DB',
    'key_prefix => 'optional_prefix_to_separate_system_parts'
];