PHP Classes

Cache OS: Store and retrieve cached data in files

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


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: 3088421 in United States United States
Week rank: 288 Up34 in United States United States Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,289
This week:455Up