Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Block Layout Accordion 1.0.2 Minor update available for module block_layout_accordion (1.0.2). Release: Canvas interactive toggle 1.0.2 Minor update available for module canvas_interactive_toggle (1.0.2). Release: Views HTTP Client 1.0.2 Minor update available for module views_http_client (1.0.2). Release: Block Layout Accordion 1.0.1 Minor update available for module block_layout_accordion (1.0.1). Release: Canvas interactive toggle 1.0.1 Minor update available for module canvas_interactive_toggle (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Release: Audit Trail 1.0.0-alpha7 New alpha version released for module audit_trail (1.0.0-alpha7). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

GraphQL Extra Cache

313 sites Security covered Drupal 8–11 Graphql ecosystem
View on drupal.org

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.

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
3
Tracked since
Sep 2024
Latest release
3 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core 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