Tommy
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerI’m getting an error while I try to remove it with Filezilla.
The folder named ” inside “search” I can’t open it or delete it.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerYes, it doesn’t matter where you login, if the page is cached on the browser side, You will have to refresh the page to see the fresh version.
The only solution I have found was to remove WP Fastest Cache and use another plugin unfortunately.
The folder tmpWpfc can’t be removed it look like.
Forum: Plugins
In reply to: [W3 Total Cache] Cache control header no longer workingI think the NGINX rule for HTML provided in the nginx.conf by W3TC is not compatible with fastcgi.
By default if you just include the nginx.conf from W3TC the header will not be added to the pages.
This is how I added the headers back to my pages:
location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0" always; }Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerIf you are logged out, refreshing the page wont bring back the cache control header.
When logged in, you have to refresh the page on everything you have clicked before login.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerNot all caching plugins, W3TC cache control headers is working but only when you have page caching enabled.
I can’t use W3TC because I need the CDN from WP Fastest Cache.
Anyway I have done many testing with Apache and NGINX on different servers and I don’t think I can fix the issue.
Maybe you should try to reproduce the issue, you just have to set a cache control header in NGINX config and activate your plugin. The header will be removed.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerI had no plugin installed, why WP Fastest Cache remove my cache control: no-cache from the cached pages?
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerI have tested it on a new install with only your plugin installed.
I noticed that the header is present without the cache enabled but when you enable the cache the header gets removed and the pages are getting cached by the browser.
I think the cache should not remove the original header present on the pages.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerI’m using a plugin call Restrict User Access.
Forum: Plugins
In reply to: [W3 Total Cache] Cache control header no longer workingI did more testing today and I noticed the rules added by W3TC are actually working on .html files, I upload html files on my site and the header was present on the files.
But all pages generated by WordPress or PHP are not showing the header.
I found a plugin that can force the header:
https://wordpress.org/plugins/cache-control/
I don’t know why W3TC is not able to add the header anymore, I hope you found a solution.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerSame issue with Apache unfortunately, would it be possible to add an option to add the cache control header to the cached pages? Without this header, people often think they are not logged in because they are still seeing the cached pages. Even with the “Don’t show the cached version for logged-in users” option enabled.
Forum: Plugins
In reply to: [W3 Total Cache] Cache control header no longer workingThis is very strange… I have tested on 2 different install and the header never showed up.
The servers were completely different, one was using NGINX and the other Apache and I don’t think there was any configuration added to the htaccess or nginx config.
When I enable Page Caching the header show up…
Did you logout to check if the header is present? because by default WP add it’s own cache control header to logged in users.
Forum: Plugins
In reply to: [W3 Total Cache] Cache control header no longer workingYes the setting is enabled.
When you tried it, did Page Cache was disabled? Because it works when you enable page cache.
But the header should be present even if you don’t use page cache, it was like that in the past.
Forum: Plugins
In reply to: [W3 Total Cache] Cache control header no longer workingHello,
I have created a test website with only W3TC installed, default WordPress htaccess.
https://wp-wordpress.czfd2l.easypanel.host/This test website is using Apache and I’m not able to set the cache control header for HTML.
Let me know if you can reproduce the issue.
Thanks.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerI can’t post the URL publicly but I think it’s an issue with WordPress and not plugins.
I tried some plugins that add cache control header on HTML and they are not working either.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] Cached pages cache-control headerCan’t really explain what’s happening then.