lasso-js/lasso

Removing entries from LassoCache

Opened this issue · 0 comments

Hafas commented

The application I'm currently building uses MarkoJS and the template and styles can change during runtime.
I'm using buildResourceCacheKey and buildBundleCacheKey (#215) to make sure that resources and bundles are rewritten when necessary.

Now I can imagine that - over time - the cache will contain lots of unused entries. The used library for caching, raptor-cache, has the necessary methods remove and free, but as I see it, there is no easy or documented way to access those methods, or am I missing something?