cached
whether this query should be cached (Hasura Cloud only)
directive @cached(
ttl: Int! = 60
refresh: Boolean! = false
) on QUERY
Arguments
cached.ttl
● Int!
non-null scalar
measured in seconds
cached.refresh
● Boolean!
non-null scalar
refresh the cache entry