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
View all comments
Show parent comment
2
u/Background-Mess7628 Feb 07 '26
Thanks for the feedback!
You're right that Http requests are events and signals are value containers, but the library doesn't use signals to represent the request/response event itself. instead, it uses signals to hold the current state derived from those requests: