Replies: 3 comments 5 replies
-
What about using https://github.com/ngneat/cashew#strategy |
Beta Was this translation helpful? Give feedback.
-
I managed to achieve that by using the
and then I declare the cashew HTTPInterceptor after my own interceptor where I filter the requests I want to add cache:
|
Beta Was this translation helpful? Give feedback.
-
I managed to achieve that by using the
and then I declare the cashew HTTPInterceptor after my own interceptor where I filter the requests I want to add cache:
|
Beta Was this translation helpful? Give feedback.
-
Here is my code snippet,
I want to do this because adding
{ context : withCache() }
in every service's method is repetitive, otherwise in a existing project it it too much time killer. That's why I want achive this via making a customInterceptor
. Does it possible to achieve ?Beta Was this translation helpful? Give feedback.
All reactions