Angular · Senior · Question 26 of 75
Why doesn't the client repeat the API calls made during SSR?
- ✓Correct answer: With hydration,
HttpClienttransfers cached GET responses from the server in the page and reuses them on the client - 2Browsers automatically cache all server-side requests
- 3Angular disables
HttpClienton the client until navigation
Explanation
The HTTP transfer cache is part of provideClientHydration() and is configurable with withHttpTransferCacheOptions. Without it the client would refetch and could flash different data.