npm strapi-middleware-cache 1.4.0
v1.4.0

latest releases: 2.1.8, 2.1.7, 2.1.6...
3 years ago

NEW

Clearing related cache

By setting the clearRelatedCache to true, the middleware will inspect the Strapi models before a cache clearing operation to locate models that have relations with the queried model so that their cache is also cleared (this clears the whole cache for the related models). The ispection is performed by looking for direct relations between models and also by doing a deep dive in components, looking for relations to the queried model there too.

Many thanks to @julesrenaud for this contribution

Don't miss a new strapi-middleware-cache release

NewReleases is sending notifications on new releases.