1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/cache
epriestley df21391b8e When "apcu_clear_cache()" exists, prefer it as a cache clear callback over "apc_clear_cache()"
Summary:
See PHI36. APCu originally had `apc_` methods, but at some point dropped these and only provides `apcu_` methods.

When the `apcu_` method is present, use it. It may not be present for older versions of APCu, so keep the fallback.

Test Plan:
  - With modern APCu, clicked "Purge Caches" in Config > Caches.
  - Before: fatal on bad `apc_clear_caches` call.
  - After: Valid cache clear.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D18449
2017-08-21 15:32:44 -07:00
..
__tests__ Introduce a request cache mechanism 2015-06-04 17:27:31 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
management Add a cache purger for builtin files 2017-06-22 11:13:23 -07:00
purger Add a cache purger for builtin files 2017-06-22 11:13:23 -07:00
spec When "apcu_clear_cache()" exists, prefer it as a cache clear callback over "apc_clear_cache()" 2017-08-21 15:32:44 -07:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
PhabricatorCachedClassMapQuery.php Provide a cached class map query for making key-based class lookups more efficient 2016-12-06 08:34:29 -08:00
PhabricatorCaches.php Introduce a serializing key-value cache proxy 2016-12-06 09:11:32 -08:00
PhabricatorKeyValueDatabaseCache.php Cache generation of the SSH authentication keyfile for sshd 2016-10-21 07:29:40 -07:00
PhabricatorKeyValueSerializingCacheProxy.php Introduce a serializing key-value cache proxy 2016-12-06 09:11:32 -08:00