When a GQL server doesn’t recognize a hash, the client then sends the query along with the hash. As I understand it, the server verifies the hash is correct for the query and then stores the mapping. Why would the client send the hash if the server is going to compute it anyway and reject the request if there’s a mismatch?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Caching with fragments | 2 | 233 | January 3, 2024 | |
Local only fields don't work with subscriptions | 2 | 386 | February 6, 2025 | |
How to manually generate hash from query for PQL manifest | 3 | 36 | March 29, 2025 | |
Apollo Client ignoring cached items | 4 | 652 | February 6, 2025 | |
Cache returns false-positive hit for queries on same type with different fragments | 2 | 304 | February 6, 2025 |