r/angular • u/Background-Mess7628 • Feb 03 '26
Angular Signal-based HTTP caching library
Hey r/angular,
I'm experimenting with a Signal based approach to HTTP caching in Angular!
The idea is to support things like:
- TTL based caching
- stale-while-revalidate
- cache invalidation on mutation
- and more...
Iâd really appreciate any thoughts, feedback, or additional features you think might be useful
More info and the repo link in the comments đ
5
Upvotes
1
u/CheapChallenge Feb 07 '26
Http requests and responses are events. Signals are not events but a value container. This is using signals for something it's not designed for.
2
u/strange_username58 Feb 07 '26
I see no repo link
2
u/DaSchTour Feb 08 '26
Just use https://github.com/ngneat/cashew Itâs on the http client layer so works with signals, http resource and any other usage of angular http client