Skip to content

A simple, general-purpose, file-based cache provider

Notifications You must be signed in to change notification settings

TheWebChimp/cacher-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

cacher-php

A simple, general-purpose, file-based cache provider

Basic usage

<?php
	// You'll need a folder named 'cache' on the same folder of this file with write permissions
	$stuff = Cacher::getFromCache('stuff', 900);
	if (! $stuff ) {
		$stuff = performTimeConsumingTaskToRetrieveTheStuff();
		Cacher::saveToCache('stuff', $stuff);
	}
?>

Licensing

This software is released under the MIT license.

About

A simple, general-purpose, file-based cache provider

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%