Skip to content

Adding configurable caching strategy in VmCache

Krishna Nikhil Vedurumudi requested to merge krveduru/vmCache into master

Issue link - #35 (closed)

Using expireAfterAccess can cause issues where frequently used data will never get updated as it never gets evicted from Cache. So, where ever needed, we should use expireAfterWrite.

Added overloaded constructor to VmCache using which this can be achieved.

This MR does not break backward compatibility as default behavior will not change

Merge request reports