2017 © Pedro Peláez
 

library safeapc

APC Cache Safe Using Wrapper

image

nazo/safeapc

APC Cache Safe Using Wrapper

  • Friday, May 22, 2015
  • by nazo
  • Repository
  • 1 Watchers
  • 3 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

SafeApc - PHP APC Cache Safe Using Wrapper

Usage


use SafeApc; // initialize $apc = new SafeApc(); $apc->setCacheStartTime($_SERVER['REQUEST_TIME']); $apc->setCacheVersionKey(file_get_contents('apc_version')); // set key $apc->set('cache key', $value, 100); // get key (throws SafeApcNotFoundException) $apc->get('cache key'); // delete key $apc->delete('cache key');

clear all cache

change version key, (*1)

The Versions

22/05 2015

dev-master

9999999-dev http://github.com/nazo/safeapc

APC Cache Safe Using Wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apc

22/05 2015

0.2

0.2.0.0 http://github.com/nazo/safeapc

APC Cache Safe Using Wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apc

22/05 2015

0.1

0.1.0.0 http://github.com/nazo/safeapc

APC Cache Safe Using Wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

apc