Skip to content

Glossary: GraphQL APIs

requestPolicy / fetchPolicy

Also written: requestPolicy, fetchPolicy, network-only, cache-only

Client options that say whether to use the cache. urql's `network-only` skips the cache, and Apollo's `cache-only` never asks the server.

Where the book teaches it

Related terms

urqlApollo Client