Przejdź do głównej zawartości

Function: isPublicReadEligible()

isPublicReadEligible(request): boolean

Whether a request may use the cacheable GET transport (transport safety only — the backend decides actual cacheability via Cache-Control). Eligible when it is a non-mutation persisted read carrying no identity. The explicit cache opt-outs (cachePrivate() / cacheNone()) are applied by the caller.

Parameters

request

GraphQLRequest

Returns

boolean