• Resolved Tommy

    (@baptistej)


    Hello,

    Was wondering why this plugin no longer respect my cache control header for HTML, I have set a “cache-control: no-cache, must-revalidate, max-age=0” but it look like the cached page are getting cached by the browsers now.

    In the past I remember the header was still present on the cached pages.

    I don’t know if it really matter but my I just want to make sure people always see my latest posts.

    Thank you.

    • This topic was modified 1 year, 5 months ago by Tommy.
Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter Tommy

    (@baptistej)

    I’m using a plugin call Restrict User Access.

    Plugin Author Emre Vona

    (@emrevona)

    it may cause the issue.

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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?

    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    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.

    Plugin Author Emre Vona

    (@emrevona)

    it must be related to the file permissions. you need to change the permissions and try to delete again.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Cached pages cache-control header’ is closed to new replies.