Meraj M
banner
meraj-gearhead.ca
Meraj M
@meraj-gearhead.ca
Software Engineer - #ElixirLang, Erlang, Ruby

🌐https://meraj-gearhead.ca
It does for sure!
May 23, 2025 at 6:43 PM
I guess it does not hurt to use both as they serve different purposes @david.bernheisel.com
May 21, 2025 at 2:30 PM
APQs:
* Reduces network and server overhead by sending only a short hash of the query to the server. Server skips parsing and validation if the query is already stored. If query variables change, the same persisted query can be reused with different variables.
May 21, 2025 at 2:30 PM
Thank you!

Regarding client caching vs APQ -

Client caching avoids redundant network requests by storing query results. Still sends the full query if not cached. If query variables change, it triggers a new request. Parsing and validation happen normally on the server.
May 21, 2025 at 2:29 PM