Extension

Caching

Cache the GraphQL response on the client-side or intermediate stages between client and server (such as a CDN) via standard HTTP caching.

Logo
Target Image

Click to watch tutorial video - 05:30

Make your application faster by providing HTTP Caching for the GraphQL response, and by caching the results of expensive operations.

Cache Control

Use HTTP caching to send a Cache-Control header with a max-age value in the response of the GraphQL query, indicating for how long the response must be cached.

The Cache Control extension offers Cache Control Lists, where custom max-age values are defined for fields and directives.

The response's max-age value is automatically calculated by the GraphQL engine, from the fields and directives present in the query.

Cache Control entry

Field Resolution Caching

Addition of the @cache directive to the GraphQL schema, which stores the result from a field in disk for a requested amount of time. When executing the same field within that time span, the cached value is returned.

This directive can boost performance when executing expensive operations (such as when interacting with external APIs), as we can cache and reuse their response.

query {
  posts {
    id
    title
      @strTranslate(from: "en", to: "es")
      @cache(time: 10)
  }
}

Purchase extension

Personal
$249
(one-off)
“Power Extensions” bundle
License for 5 domains
Purchase ->
  • 5 domains
  • Support (forever)
  • Product updates (forever)
Organization
$499
(one-off)
“Power Extensions” bundle
License for 25 domains
Purchase ->
  • 25 domains
  • Support (forever)
  • Product updates (forever)
Professional
$749
(one-off)
“Power Extensions” bundle
License for 100 domains
Purchase ->
  • 100 domains
  • Support (forever)
  • Product updates (forever)
Agency
$999
(one-off)
“Power Extensions” bundle
License for 500 domains
Purchase ->
  • 500 domains
  • Support (forever)
  • Product updates (forever)

The license never expires. Prices are in USD.

30-day money back guarantee

Purchase any extension with the confidence that you can request a refund

Features illustration
Money back guarantee

Read our refund policy

Testimonial image

You have built an incredibly well-thought out and powerful tool—plus the support material is stellar.

Quint R. - Developer

Subscribe to our newsletter

Stay in the loop on all new things concerning Gato GraphQL.