-
Notifications
You must be signed in to change notification settings - Fork 27k
feat(http): add cache & priority support for fetch requests in httpRe… #62301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(http): add cache & priority support for fetch requests in httpRe… #62301
Conversation
11b6bd0 to
c3e4bfa
Compare
3bd8186 to
d005f41
Compare
dccada1 to
1f3a927
Compare
1f3a927 to
ebfb1dd
Compare
…source This commit adds support for the Fetch API's cache & priority options when using httpResource with the withFetch provider
ebfb1dd to
c164762
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
reviewed-for: fw-general, public-api
crisbeto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: public-api
|
This PR was merged into the repository by commit 55fa38a. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently, Angular's httpResource doesn't expose the cache & priority option from the underlying Fetch API. This feature would allow developers to control of request and improve better performance ( web vitals ).
Example new usage :