View Cache Invalidate on Update
This module automatically clears the cache for a specific View whenever it's edited, ensuring that changes are visible immediately without affecting other cached content on your site. It provides a targeted and efficient way to update View output, ideal for content editors and high-traffic sites.
This module automatically clears the cache exclusively for the specific View being edited, ensuring instant visibility of changes without manual intervention. Edited View output may display inaccurately if cached versions aren't invalidated. Supports both manual and automatic View updates while maintaining optimal site performance.
Leveraging Drupal's native config:views.view.{ID} cache tag, the module ensures maximum compatibility with various caching layers (Varnish, CDNs, Redis) to surgically invalidate only the affected View's cached output.
Result: Immediate deployment of View edits while preserving cached content across the rest of your site - maintaining speed without compromising freshness.
Features
• Ideal for content editors who frequently update Views configurations (e.g., modifying filters, sorts, or display settings)
• Essential for staging environments requiring instant content change visibility
• Critical for high-traffic sites where full cache flushes cause disruptive performance impacts
Post-Installation
No configuration required. Simply enable the module to activate automatic, targeted cache clearance for edited Views.
Alternative Solutions
While you can clear all caches through drush cr command or the admin interface, this approach impacts entire site performance and temporarily slows user experience. Our solution provides surgical cache invalidation that only affects the modified View's cached data, keeping other cached assets fully intact.