Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

GraphQL Extra Cache

Security covered Maintenance fixes only 226 sites

Part of the Graphql ecosystem · 39 projects

This module improves GraphQL performance by adding an earlier caching layer. It caches responses for identical GraphQL queries, avoiding repeated parsing and validation for a significant speed boost.

GraphQL Extra Cache Module

This module enhances the caching capabilities of GraphQL requests in a Drupal application. It is designed to work with the graphql and graphql_core_schema modules.

Features

  • The graphql module already has a caching layer, but it is implemented too late in the request lifecycle.
  • This module adds a new cache layer that is implemented earlier in the request lifecycle.
  • The module skips parsing and validating the whole POST body of the request, which can be a performance bottleneck.
  • If the same GraphQL query is requested multiple times, the response will be cached and served from the cache without any additional processing.

This results in a huge performance boost.

Installation

  1. Download and enable the `graphql_extra_cache` module in your Drupal application.
  2. Ensure that the graphql and graphql_core_schema modules are also enabled.

Usage

Once the module is enabled, it alters graphql the route of graphql_core_schema and starts serving from cache.

Note

This module is designed to work with the graphql and graphql_core_schema modules. If you have your own schema, you still can use it, but you need to write your own RouteSubscriberto match and alter the route and add the cache layer.

Drupal 8–11

Ask your assistant about GraphQL Extra Cache

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Apr 2024
Latest release
5 months ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.5 Stable 8–11 May 6, 2026
1.0.4 Stable 8–11 Sep 19, 2025
1.0.3 Stable 8–11 Sep 27, 2024
1.0.2 Stable 8–10 May 13, 2024
1.0.1 Stable 8–10 May 13, 2024
1.0.0 Stable 8–10 Apr 4, 2024
1.0.x-dev Dev 8–11 Apr 4, 2024