tillkruss / Nginx-FastCGI-Cache

A WordPress plugin that purges Nginx cache zones.
48 stars 25 forks source link

Disable flushing checkbox isn't working. #17

Closed decimoseptimo closed 6 years ago

decimoseptimo commented 6 years ago

"Automatically flush the cache when content changes" checkbox isn't working.

I installed, activated, and set 'Cache Zone Path' plugin setting. Opened a given page in chrome incognito, then updated such page in wp-admin, then reloaded such page in chrome incognito. A MISS ocurred.

So the plugin is emptying the cache, just regardless of that setting.



Home URL: ***
Site URL: ***
WC Version: 3.2.6
Log Directory Writable: ✔
WP Version: 4.9.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: es_MX

### Server Environment ###

Server Info: nginx/1.13.3
PHP Version: 7.1.13-1+ubuntu16.04.1+deb.sury.org+1
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.47.0
OpenSSL/1.0.2g

...
tillkruss commented 6 years ago

This isn't a page cache plugin, so that MISS is normal.

decimoseptimo commented 6 years ago

Hi, I updated the title to correctly state the issue. From what I understand, that checkbox is the on/off switch for the auto-flush. So it is broken, because it always auto-flushes.

tillkruss commented 6 years ago

Feel free to submit a PR.