PHP code example of arkonsoft / ps-file-cache
1. Go to this page and download the library: Download arkonsoft/ps-file-cache 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/ */
arkonsoft / ps-file-cache example snippets
$value = $cache->retrieve('key');
$value = $cache->retrieve('key', false);
$cache->isStored('key');
$cache->isExpired('key');