Caching
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Caching.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CacheScope.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CacheSettings.type
Assigns a cache hint to a field or a type
Assigns a cache hint to a field or a type
Value parameters
- inheritMaxAge
-
Whether the maxAge should be inherited from the parent type
- maxAge
-
The maximum duration that this field should be cached for
- scope
-
The scope of that should be applied to the cache
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GQLDirectivetrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Disables caching for the current query
Disables caching for the current query
Attributes
Computes the total cache policy for a query and stores it in the extensions of the response. The result can then be used by http adapters to set the appropriate cache headers.
Computes the total cache policy for a query and stores it in the extensions of the response. The result can then be used by http adapters to set the appropriate cache headers.
Attributes
Overrides the cache hint for a particular field. This can be used to dynamically set the cache hint within a resolver
Overrides the cache hint for a particular field. This can be used to dynamically set the cache hint within a resolver