invalidateCache(string $path)added toHttpClientInterface- Hierarchical
TagDependencytags — invalidating a parent path (e.g./posts) also clears all child entries (e.g./posts/1) - Cache tests (15 tests covering keys, tags, invalidation, hierarchical cascading)
- Mutating methods (POST, PATCH, DELETE) in
HttpClientnow automatically invalidate the cache for the request path Resource::$cacheInvalidationPathsnow only handles cross-resource invalidation; per-path invalidation is handled byHttpClient- Cache keys include query parameters — different parameter combinations are cached independently
- Requests to the same endpoint with different parameters (e.g.
?expand=comments) no longer return the first cached variant
- Cache keys now include query parameters
- Cache invalidation uses
TagDependencyto clear all parameter variants of a path at once