Title: Workaround for content changing?
Last modified: January 7, 2022

---

# Workaround for content changing?

 *  Resolved [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/workaround-for-content-changing/)
 * 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](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/workaround-for-content-changing/#post-15235388)
 * Hello [@programmin](https://wordpress.org/support/users/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](https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Developers#what-is-page-fragment-cache).
   I hope this helps! Thanks!
 *  Thread Starter [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/workaround-for-content-changing/#post-15274555)
 * Thank you [@vmarko](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [programmin](https://wordpress.org/support/users/programmin/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/workaround-for-content-changing/#post-15274555)
 * Status: resolved