elliotgao2/toapi

How to set expiration on Local Storage

ahetawal-p opened this issue · 0 comments

Hello,
I am using v1.0.0.
And wanted to check if there is a way to set an expiration time on the local storage. Since the source website changes frequently, I want to only cache the local storage for 24 hours and then force it to refetch the content.
Is there a way to achieve this, and similar to a ttl on cache settings.

Thanks,