Skip to content

Conversation

@Lctrs
Copy link
Contributor

@Lctrs Lctrs commented Dec 4, 2025

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #62590
License MIT

CachingHttpClient needs the final resolved URL (base_uri from ScopingHttpClient + expanded URI templates) to compute correct cache keys.

@nicolas-grekas nicolas-grekas force-pushed the fix/http-client/priorities branch from 5a365fa to 97d0b43 Compare December 4, 2025 20:46
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I applied my suggestion)

@nicolas-grekas nicolas-grekas force-pushed the fix/http-client/priorities branch from 97d0b43 to 4bb94a7 Compare December 4, 2025 21:13
@nicolas-grekas
Copy link
Member

Thank you @Lctrs.

@nicolas-grekas nicolas-grekas merged commit 92f83e4 into symfony:7.4 Dec 4, 2025
5 of 12 checks passed
@Lctrs
Copy link
Contributor Author

Lctrs commented Dec 4, 2025

@nicolas-grekas Caching should occur after Retry to handle potential cache inconsistencies.

Also, is it worth Throttling a request if we have a cache entry for it ? 🤔

@Lctrs Lctrs deleted the fix/http-client/priorities branch December 4, 2025 21:31
@nicolas-grekas
Copy link
Member

If there's a separate concern, we can discuss it on another PR/issue. The linked issue is now fixed, with the originally intended order :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants