• Resolved nickwp161

    (@nickwp161)


    Hi,

    I would like to prevent the browser caching certain pages. I understand that your plugin does not support that.

    Woocommerce (and likely many others) provide a member/non-member view of the same page via individual block elements. The problem here is that a member would see the non-member content until the browser cache expired (default 3600s) should they visit the same page before logging in.

    Please would you either add the capability to provide a page exception list, or alternatively, indicate how to override this behaviour via filter/function etc.

    Thank you

    The page I need help with: [log in to see the link]

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

    (@vmarko)

    Hello @nickwp161

    Thank you for your suggestion and I am happy to assist you with this.
    No, W3 Total Cache does not support this. What you are using is to disable BC rules set globally on a specific page which cannot be done with W3TC. In the case you are mentioning, yes it’s recommended to disable the expires header in Performance>Broser Cache>HTML&XML. So you should keep that option disabled.
    Thanks!

    Thread Starter nickwp161

    (@nickwp161)

    Hi Marko,

    Thank you for your reply.

    Is there a recommended way to override this behaviour. There are standard pages for which the last-modified does not appear (e.g. my-account), so I was wondering if you might indicate the appropriate function(s) that bypass this?

    Thanks

    Nick

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @nickwp161

    No, unfortunately, disabling the mentioned option is the only way.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Support browser cache page exceptions’ is closed to new replies.