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.

Gato GraphQL 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)
  }
}

Get your extension

Purchase the Caching extension, or a bundle with all the extensions

60% Off!
Personal
$24.99
Caching
License for 5 domains
Purchase ->
  • 5 domains
  • Support
  • Product updates
Organization
$49.99
Caching
License for 25 domains
Purchase ->
  • 25 domains
  • Support
  • Product updates
Professional
$74.99
Caching
License for 100 domains
Purchase ->
  • 100 domains
  • Support
  • Product updates
Agency
$99.99
Caching
License for 500 domains
Purchase ->
  • 500 domains
  • Support
  • Product updates

The license is for 1 year (renewable every year). Prices are in USD.

30-day money back guarantee

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

Features illustration
Money back guarantee
Testimonial image

This plugin is extraordinary, it unlocks a new world of possibilities within WordPress.

Nathan W. - Tech writer
Discover the power

Try demo now!

Play with Gato GraphQL + all extensions in your own sandbox site, for free