Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@josedavid)

    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:
    https://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 –>

    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

    (@josedavid)

    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

    (@fredericktownes)

    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.