OpenEMR APCu caching and Caching Service

Has anyone played around with PHP’s apcu caching with OpenEMR?

I’m thinking of adding a Caching service class that could use different Caching Strategies (APCu to start, but Memcache, or Redis if available).

It’d be useful for optimizing a number of things in OpenEMR where we are read heavy, such as our globals and enabled modules list. If we can just pull it from cache and clear the cache whenever the values changed, it’d be quite the improvement.

1 Like