• Resolved SeanAUS120

    (@seanaus120)


    I have “do not cache pages for logged in users” switched on (default), but I wanted to make an exception for one page I have that has a special promo on it.

    Is there a way to make an exception that page cache can be activated for everyone (logged in/out) for one specific URL?

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

    (@vmarko)

    Hello @seanaus120

    Thank you for reaching out and I am happy to help!
    Unfortunately, there is no way to do this in W3 Total Cache. You can exclude specific pages from being cached, however, you cannot add a single page to be cached for both logged in or logged out users.
    Possibly a custom filter may help here using the if ( is_user_logged_in()) for a specific template, so the only way may be programmatic.
    Let me know if you are interested in this approach so I can check this more and provide a possible solution.
    Thanks!

    Thread Starter SeanAUS120

    (@seanaus120)

    I understand! I would be VERY interested in a possible custom filter to make this work (and I’m sure others on this forum would be too).

    I assume it is a common occurence. I have an ecommerce store where most people are logged in when they browse, but then I have some landing pages with things like a quiz or some promo on them that I really want to be cached to the max, so having page cache for everyone on these URLs would be great.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @seanaus120

    Thank you for your feedback.
    I’ll see what I can do but as I’ve mentioned, this can be outside of W3TC as a custom filter based on the template.
    I’ll let you know when I have an answer for you.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible to make an exception for page cache for logged in users?’ is closed to new replies.