I just tried mfunc snippet as posted above, but it still does not seem to work. I have googled for hours but can't find any definite answer on how to get page fragment caching to work.
This does not work for me:
<!-- mfunc echo date('h:i:s'); -->
<?php echo date('h:i:s'); ?>
<!-- /mfunc -->
I tried lots of different mfunc snippets but did't get it to work. Defining 'W3TC_DYNAMIC_SECURITY' in my wp-config.php does not help either.
I use page cache (disk enhanced), database cache (APC) and object cache (APC), and I've already tried switching page cache to disk:basic or APC, but nothing seems to work.