You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
APC is being phased out starting with v5.4, and irrevocably with v5.5. Zend Opcache is its replacement, but it's a bytecode cache, not a user-variable cache. The present arrangement is harmless to those versions, since APC functionality is all premised on a verification that APC is installed and functioning, but as time passes, more and more users will lose the benefits of APC with future releases. Determine how to best replace that functionality.
I think a wrapper for Memcached and Redis (configurable in config.inc.php) is going to be the way to go. Both are alarmingly easy to set up and use (just as simple as APC), and we'd only need a few core methods within those classes. This could be knocked out in an hour.
There's an odd bug in PHP v5.5.9, under some setups, causing it to report that APC is installed (it's not) but not providing any of APC's functionality. The effect is that the site utterly fails to work.
Somebody filed a bug report for Virginia Decoded that revealed that, when Memcached or Redis is running, the cache of API keys isn't being invalidated upon the activation of a new API key. It's still attempting to clear an APC cache.
Activity
waldoj commentedon Jan 7, 2014
I think a wrapper for Memcached and Redis (configurable in
config.inc.php) is going to be the way to go. Both are alarmingly easy to set up and use (just as simple as APC), and we'd only need a few core methods within those classes. This could be knocked out in an hour.[-]Dermine how to replace APC functionality[/-][+]Replace APC functionality[/+]waldoj commentedon Sep 8, 2014
There's an odd bug in PHP v5.5.9, under some setups, causing it to report that APC is installed (it's not) but not providing any of APC's functionality. The effect is that the site utterly fails to work.
Halt APC functionality
Move API key cache into Memcached/Redis
Explain APC_RUNNING flag
krusynth commentedon Nov 5, 2014
@waldoj Is this done?
waldoj commentedon Nov 5, 2014
Nope. The framework is in place, but I still need to swap out every time we make a call to APC and turn it into a call to Memacached/Reddis.
waldoj commentedon Dec 28, 2014
Somebody filed a bug report for Virginia Decoded that revealed that, when Memcached or Redis is running, the cache of API keys isn't being invalidated upon the activation of a new API key. It's still attempting to clear an APC cache.
Clear Memcached/Redis key cache upon activation of a new key
A couple of spelling fixes
Replace APC cache-flushing with Memcached/Redis
Cache templates in Memcached/Redis, not APC
Replace manual APC cache-invalidation with Memcached