Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

solid-query-flight-metadata.md

5 lines533 Bytes

1---
2'@tanstack/solid-query': patch
3---
4​
5The single-flight consumer applies `X-Revalidate` on responses that carried no slice for the query cache (no collector registered, a redirect leaving the app) instead of throwing on the missing payload β€” nothing is covered, so the declared scope is swept in full. The header's three states are three scopes: absent leaves the cache alone, an empty declaration (`revalidate: []`) sweeps nothing, and the reserved key `*` (`revalidate: '*'`) invalidates every query the payload did not cover.