swrev icon indicating copy to clipboard operation
swrev copied to clipboard

new localStorage cache

Open josef-pokorny opened this issue 1 year ago • 0 comments

The new cache class with localStorage implementation

  • Logic for accessing localStorage was implemented for every operation involving the cache (elements)
  • Elements are first checked to obtain a value, and if the value does not exist, the localStorage is then accessed
  • Method set() was set to async

Maybe some inheritance work could be done, but I chose to create a whole new class.

josef-pokorny avatar Feb 11 '24 14:02 josef-pokorny