rtCamp / nginx-helper

Nginx Helper for WordPress caching, permalinks & efficient file handling in multisite
https://wordpress.org/plugins/nginx-helper/
224 stars 117 forks source link

PWA compatibility to purge home page automatically #256

Open yogeshbeniwal opened 3 years ago

yogeshbeniwal commented 3 years ago

Default configuration while using Nginx helper along with PWA plugin is causing start_url (home page in this case) to remain outdated and not updated even after publishing new post. While Category and Taxonomy URLs are purged automatically, home page is not and manual purge is required

danish17 commented 1 year ago

I was unable to reproduce on:

The settings are Nginx Helper default:

On making a cached request (without any post updations/additions/removals), I get x-fastcgi-cache: HIT as expected.

Upon editing the post/adding a new post, I get x-fastcgi-cache: MISS as expected.

I can also confirm that service working is behaving as expected, even if offline.