Title: Configuring Shortcode not to cache
Last modified: October 17, 2021

---

# Configuring Shortcode not to cache

 *  Resolved [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuring-shortcode-not-to-cache/)
 * Hello, Im looking for a way to allow particular content not to cache.
    Can this
   be done without an extension.
 * Any tips would be appreciated.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuring-shortcode-not-to-cache/#post-14980014)
 * Hello [@nate1](https://wordpress.org/support/users/nate1/)
 * Thank you for reaching out and I am happy to assist you with this.
    You can exclude
   a specific part of the page from being cached with Page Fragment Caching by wrapping
   the <mfunc> and changing the W3TC settings accordingly. You can check more details
   about Page Fragment Caching in our [FAQ](https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Developers#how-does-page-fragment-cache-work).
   The best way would be to load the shortcode with ajax which would bypass the 
   cache, however, the Page Fragment Caching is a workaround. I hope this helps!
   Thanks!
 *  Thread Starter [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuring-shortcode-not-to-cache/#post-15013562)
 * Thank you, that works well.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/configuring-shortcode-not-to-cache/#post-15013588)
 * Hello [@nate1](https://wordpress.org/support/users/nate1/)
 * You are most welcome!
 * We would really appreciate it if you could take a minute and post a review [here](https://wordpress.org/support/plugin/w3-total-cache/reviews/).
   This will help us to continue offering a top-notch product to users.
    Thanks!

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

The topic ‘Configuring Shortcode not to cache’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/configuring-shortcode-not-to-cache/#post-15013588)
 * Status: resolved