PHP Classes

PHP File Cache Library: Store in a cached data from by a callback function

Recommend this page to a friend!

  Author Author  
Picture of Ujah Chigozie peter
Name: Ujah Chigozie peter <contact>
Classes: 17 packages by
Country: Nigeria Nigeria
Age: 31
All time rank: 245013 in Nigeria Nigeria
Week rank: 19 Up1 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 8x


  Detailed description   Download Download .zip .tar.gz  
This class can store in a cached data from by a callback function.

It can check if a given cache file exists.

If the file does not exist or cache timeout period has passed, the class can call a callback function to retrieve the data that will be stored in the cache file.

If the cache file exists and it is still valid, the class returns the data stored in the cache file.

  Classes of Ujah Chigozie peter  >  PHP File Cache Library  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP File Cache Library
Base name: filecache-php
Description: Store in a cached data from by a callback function
Version: -
PHP version: 5
License: GNU General Public License (GPL)
All time users: 116 users
All time rank: 9425
Week users: 0 users
Week rank: 263 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
March 2022
Number 8
Caching is a method that many developers use to store the results of processes that take a long time to execute.

The next time the same process needs to execute, applications can use the data stored in a cache container to avoid the same slow process, thus gaining more performance.

This package provides a simplified approach to caching long process results data in files. It allows developers to pass a callback function that will generate the results if the cached data does not exist or is expired.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Cache.php Class Class source

Download Download all files: filecache-php.tar.gz filecache-php.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.