Hexret

Web Security · GraphQL

Automatic Persisted Queries

Also known as: APQ

A GraphQL client first sends an operation hash; on a cache miss it can send the full operation so the server stores it at runtime. This reduces request size but does not safelist trusted operations, because new operations can be registered during use. Use a preregistered Persisted Query List when the goal is to reject unapproved operations.

Where you practice it

Related terms