-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include APCu for lightweight local caching #41
Comments
225f9b9 :) |
(Will be merging stuff in batches to master from now on; have to do Changelog entries etc now that it is officially released) |
Awesome :-) Christoph Hochstrasser ❖ http://twitter.com/hochchristoph ❖ http://christophh.net ❖ On Thu, May 1, 2014, at 04:42 PM, David Zülke wrote:
|
* Added renew session function to update session keys upon expiry. Refactored connection object key setting into a single function. * Implemented renew session functionality and refactored connection key setting. Fixes #25
Often it's very useful to cache some variables on the dyno itself to avoid network requests, and due to PHP's "Shared nothing" concept, we just can't do this in-process like in other languages.
Therefore I would propose using APCu, which is a drop-in replacement of the popular APC, but works with Opcache in PHP 5.5. I also use APCu in my own, relatively popular PHP build pack to great success.
The text was updated successfully, but these errors were encountered: