Thread Starter
Tommy
(@baptistej)
I’m using a plugin call Restrict User Access.
Thread Starter
Tommy
(@baptistej)
I 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.
The plugin owner should make this plugin to be compatible with the cache plugins.
Thread Starter
Tommy
(@baptistej)
I had no plugin installed, why WP Fastest Cache remove my cache control: no-cache from the cached pages?
you said all caching plugins cause the same error. Unfortunately, you are wasting your time looking for the solution in the wrong place.
Thread Starter
Tommy
(@baptistej)
Not 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.
is the problem solved when you refresh the page?
Thread Starter
Tommy
(@baptistej)
If 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.
did you try the wp native login system?
Thread Starter
Tommy
(@baptistej)
Yes, 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.
you can remove the tmpWpfc folder manually via FTP.
Thread Starter
Tommy
(@baptistej)
I’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.
it must be related to the file permissions. you need to change the permissions and try to delete again.