• Resolved lw5

    (@lw5)


    Is it possible to, in PHP (for instance through a Must Use plugin), tell WP Fastest Cache to give back a fresh page instead of the cached version?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    do you want to use the buffer before creating cache?

    Thread Starter lw5

    (@lw5)

    No, I want to opt-out of using the cached page (without re-creating the cached page) in some situations. Either that, or have the ability to choose between ‘cached versions’ of a page. My backup solution is to exclude these pages from the caching entirely.

    Plugin Author Emre Vona

    (@emrevona)

    do you want to disable cache for some pages?

    Thread Starter lw5

    (@lw5)

    No, I only want to bypass using the cached version of a page for certain visitors. So, say I have a $_SESSION variable ‘no_cache’, I’d like to have the page render in full and not use the cache. When the variable is not set, I want to load the cached page.

    Plugin Author Emre Vona

    (@emrevona)

    it is not possible after created cache because PHP does not work.

    Thread Starter lw5

    (@lw5)

    Yes, but Must Use plugins execute before WP Fastest Cache, so I was hoping to be able to do something from there.

    Plugin Author Emre Vona

    (@emrevona)

    but if the cache is created one, you cannot execute PHP.

    Thread Starter lw5

    (@lw5)

    Doh, I just tested this; you’re right. I mistakenly thought there was still some PHP executed before requesting the cache.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Conditional Cache’ is closed to new replies.