seniorGraphQL
What are Automatic Persisted Queries (APQ)?
Updated Apr 28, 2026
Short answer
APQ improves network performance and security by sending a cryptographic hash of the query instead of the full query string.
Deep explanation
GraphQL queries can be enormous, wasting network bandwidth. With APQ, the client hashes the query and sends the hash. If the server recognizes the hash, it executes the query. If not, it requests the full query from the client, saves it in a registry (like Redis), and processes it.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro