We should provide a generalized caching service for caching things like namespace lists to the new XTools codebase. Possibly implemented in Redis. Should fall-back to local file caching for testing purposes.
Description
Description
Related Objects
Related Objects
- Mentioned In
- T160721: XTools: Top edits - 'All' namespaces option
Event Timeline
Comment Actions
https://symfony.com/doc/current/components/cache.html - Appears to be easily available for symfony. I would avoid Redis because it makes xtools less portable.
Comment Actions
There are multiple cache adapters available, and each installation of xTools can choose which is most suitable: http://api.symfony.com/3.2/Symfony/Component/Cache/Adapter.html
Comment Actions
Caching is set up, with Redis enabled on the labs install. I've added caching to a couple of places in helpers (namespaces and user IDs). There is some more to be done for caching doctrine results now.