loading...

re: Caching API requests in JavaScript VIEW POST

FULL DISCUSSION
 

The cache with a timer is a great idea. I will consider this approach with NgRx for our teams Angular application. Thanks for the inspiration!

 

I think you can do the same with sharedReplay rxjs operator.

 

I'm glad it helps Alex! Would be good if you can share your implementation. :D

code of conduct - report abuse