Title: [Plugin: W3 Total Cache] Fragmented Caching ?
Last modified: August 20, 2016

---

# [Plugin: W3 Total Cache] Fragmented Caching ?

 *  [josedavid](https://wordpress.org/support/users/josedavid/)
 * (@josedavid)
 * [15 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/)
 * Hi,
 * I have some dynamic content in my pages and posts between specific shot code 
   tags. Is it possible to cache all but the content in the shortcodes ( which are
   inside their own plugin cached?
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

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

 *  [fatabbot](https://wordpress.org/support/users/fatabbot/)
 * (@fatabbot)
 * [15 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085100)
 * I was just about to ask the same question… I can’t find anything in the FAQ about
   fragment caching and how to set it up. Got a mail from Frederick saying that 
   it is possible.
 *  Thread Starter [josedavid](https://wordpress.org/support/users/josedavid/)
 * (@josedavid)
 * [15 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085111)
 * All I found in the help was this ( and this was after I posted this query here
   on the forum. :
 * Edit your templates to with the following syntax to ensure that dynamic features
   remain so:
    [http://screencast.com/t/xJ7I71nl](http://screencast.com/t/xJ7I71nl)
 * The only think I am unsure of is if this breaks down gracefully if W3 cache is
   for some reason disabled.
 * Example 1:
    <!– mfunc any PHP code –><!– /mfunc –> Example 2: <!– mfunc –>any
   PHP code<!– /mfunc –> Example 3: <!–MFUNC –> echo rand(); <!–/mfunc –> Example
   4: <!– mclude path/to/file.php –><!– /mclude –> Example 5: <!– mclude –>path/
   to/file.php<!– /mclude –>
 *  [fatabbot](https://wordpress.org/support/users/fatabbot/)
 * (@fatabbot)
 * [15 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085116)
 * I do this:
 * <body>
    <!– mfunc –> $visitors_online = new usersOnline(); $currentlyonline =
   $visitors_online->count_users(); <!–/mfunc –>
 * …
 * </body>
 * But it’s just showing a blank page.
 *  Thread Starter [josedavid](https://wordpress.org/support/users/josedavid/)
 * (@josedavid)
 * [15 years ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085163)
 * Yeah whats going between our tags is a little random in terms of what comes out.
   We have the impression that either W3 is a little flaky in this fragmented caching
   area or we are missing some other config item.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085225)
 * What are the errors in your error logs from your tests?

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

The topic ‘[Plugin: W3 Total Cache] Fragmented Caching ?’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-fragmented-caching/#post-2085225)
 * Status: not resolved