Forums
Home / Plugin: PWA / how to exclude pages
(@shawnpita)
2 months, 2 weeks ago
how can i exclude specific pages from the cache
(@westonruter)
The wp_service_worker_navigation_route_denylist_patterns filter may be what you need:
wp_service_worker_navigation_route_denylist_patterns
https://github.com/GoogleChromeLabs/pwa-wp/blob/881e615b67e9bfd287d7cfd4f17fdaa56448539c/wp-includes/components/class-wp-service-worker-navigation-routing-component.php#L408-L419