• Resolved Tobias

    (@tobiaseichner)


    Hello,

    is it possible to exclude shortcodes from being cached, in a way that some (or all) of them are generated with each page and not taken from cache?

    Thanks for your help
    Tobias.

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

    (@vmarko)

    Hello @tobiaseichner

    Thank you for reaching out and I am happy to help!

    You can do this in two ways, the first way you can do this is with the W3TC and Page Fragment caching.
    You can check more in the link provided. This is used to wrap the php code that fires thew shortcode with <mfunc> and exclude that part of the page from the cache.
    Please read the instructions carefully.
    The other way is to use a plugn line No cache Ajax Widget which can help with loading the parts of the page with Ajax, therefore bypassing the cache.

    I hope this helps!

    Thanks!

    Thread Starter Tobias

    (@tobiaseichner)

    Thank you. I’ll have a look at it.

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

The topic ‘Exclude shortcodes from being cached?’ is closed to new replies.