minify icon indicating copy to clipboard operation
minify copied to clipboard

Add cache support for APCu

Open bretrzaun opened this issue 8 years ago • 4 comments

With PHP7 the userland caching of APC has been renamed to APCu. It would be nice if there would be a cache adapter for that too.

The needed modifications are minimal. Just replace the apc_ functions with apcu_.

bretrzaun avatar Jun 26 '17 10:06 bretrzaun

Have you considered using the apcu_bc extension for backwards compatibility?

https://pecl.php.net/package/apcu_bc

mzronek avatar Nov 08 '17 20:11 mzronek

I created a simple cache wrapper with support for apcu and e.g. for opcache-file-cache maybe we can use it here? -> https://github.com/voku/simple-cache

voku avatar Nov 23 '19 01:11 voku

no, can't too high php requirement:

  • https://github.com/voku/simple-cache/blob/4.0.3/composer.json

glensc avatar Nov 25 '19 11:11 glensc

I can also copy and past some of the caching classes, (e.g. apcu) most of the stuff should work also for PHP 5.x?

voku avatar Nov 25 '19 11:11 voku