• Resolved programmin

    (@programmin)


    If a certain shortcode outputs urls that expire, the cache plugin breaks it by keeping old links.

    Is there a recommended way for developers to set no page cache for a specific plugin’s shortcode/feature?

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

    (@vmarko)

    Hello @programmin

    Thank you for reaching out and I am happy to assist you with this.
    There are two ways to remedy this. The first one is to fire the shortcode using ajax, which will bypass the cache and allow the shortcode not to be cached.
    The second one is to use Page Fragment Cache. With this, you need to wrap the shortcode with the <mfunc> which will also allow that part of the page not to be cached.
    You can check more information about Page Fragment Cache in our FAQ.
    I hope this helps!
    Thanks!

    Thread Starter programmin

    (@programmin)

    Thank you @vmarko but we have Disk: enhanced mode set for page cache.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Workaround for content changing?’ is closed to new replies.