2021-02-02 648次浏览

First versions of cache package and its drivers were released.

Main library is to be used as a wrapper around PSR-16 compatible caching libraries. We call these drivers. It adds an ability to set default TTL and key prefix per cache instance, provides a built-in behavior to cache stampede prevention, and adds cache invalidation dependencies on top of PSR-16. Check the details in README.

The following drivers were released along with main package:

These are all pure PSR-16 implementations so could be used separately if needed.

The quality of these packages is per our standards. They have good unit tests coverage, high MSI score and no static analysis errors.