• Resolved rickgb

    (@rickgb)


    Hi,

    I have a page on a website that I don’t want to be cached.

    So I set “Never cache the following pages:” /test* at the page cache page.

    I tried some different regex: /test/ /test test but all with the same result.

    When I look at the headers send to the browsers I still see the cache headers:
    cache-control: max-age=3600
    content-encoding: gzip
    content-length: 13881
    content-type: text/html; charset=UTF-8
    date: Tue, 14 Apr 2020 15:17:29 GMT
    expires: Tue, 14 Apr 2020 16:17:29 GMT
    link: …..
    referrer-policy: no-referrer-when-downgrade
    server: Apache
    status: 200
    vary: User-Agent,Accept-Encoding
    x-powered-by: W3 Total Cache/0.13.2

    Is this intended? Can’t I exclude some pages from being cached in the browser?

    Thanks,

    Rick

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rickgb

    Thank you for your inquiry and I am happy to assist you with this.
    When you exclude a page from cache, it means that the cached version of the page will not be saved in E.G. wp-content/cache/page-enhanced
    You cannot exclude a single page from browser cache.
    Browser cache works per extension only. So you should not use Browser cache for HTML in that case (uncheck expires header at least).
    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Browser cache headers are send even when page is in exception list’ is closed to new replies.