Nuxt Multi Cache Purge
This module automatically clears the cache for your Nuxt.js frontend when content is updated in Drupal. It supports both single and multi-domain setups and allows you to configure how Drupal entities map to your Nuxt routes. This ensures your decoupled website always displays the latest content.
Nuxt Multi Cache Purge
This module provides automated cache purging functionality for Nuxt.js frontend applications in a decoupled Drupal environment. It is built to support both single and multi-domain setups, ensuring that content updates in Drupal (such as node creation, update, or deletion) trigger targeted cache purges on the Nuxt frontend.
Key Features:
- Automatic purge requests to Nuxt frontend(s) when content is changed.
- Supports multi-domain configurations using the Domain or Domain Access modules.
- Configurable endpoint, headers (e.g., Auth token), and domain-specific purge settings via the admin UI.
- Customizable cache tag mapping to align Drupal entities with Nuxt frontend routes.
- Extensible architecture to hook into additional entity types or cache strategies.
Use Case:
Ideal for headless or decoupled Drupal websites using Nuxt.js as the frontend framework. This module ensures your Nuxt pages always reflect up-to-date content by invalidating the relevant pages or APIs after changes in Drupal.
Requirements:
- Drupal 10 or 11
- Nuxt frontend capable of accepting purge requests (typically via a custom endpoint)
- Domain module (optional, for multi-domain support)