PHP Classes

Cache OS: Store and retrieve cached data in files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 585 All time: 5,290 This week: 455Up
Version License PHP version Categories
cache-os 0.3GNU Lesser Genera...5.2PHP 5, Files and Folders, Cache
Description 

Author

This class can be used to store and retrieve cached data in files.

It can check if a cache file with a given key exists and retrieve its data.

The class can optionally check if the cache file was created before a given expiry time has passed.

If the cache file does not exist or expired, the class can store new data in the cache file.

The class may also delete cache files with a given key or delete all cache files in the cache directory or sub-directory.

Picture of Sahil Saggar
Name: Sahil Saggar <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 3088422 in United States United States
Week rank: 216 Up24 in United States United States Up

  Files folder image Files (2)  
File Role Description
Plain text file CacheOS.Class.php Class CacheOS class file
Accessible without login Plain text file example.php Example examples to use the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:585
This week:0
All time:5,290
This week:455Up