angelnikolov / ts-cacheable

Observable/Promise Cache Decorator
https://npmjs.com/package/ts-cacheable
ISC License
340 stars 42 forks source link

Caching for urls without parameters #122

Closed rasikabayaskar closed 2 years ago

rasikabayaskar commented 2 years ago

Hello, I am trying to use ts-cacheable for my project, I added @cacheable for the endpoints and observed that for urls with params it is working fine but for urls without parameters , I am not able to cache the end points Will it only work if it has path params? Url for which not working Https:///companies Https:///roles

Url for which caching is working Https:///roles/{Id}

Also same urls are caching with inMemorystorage strategy But not with LocalstorageStrategy