Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19294

marcokrueger on "[Plugin: W3 Total Cache] Mclude not working as expected"

$
0
0

Hi Guys,

I'm running W3 Total Cache to speed up one of our sites. I'm caching everything in APC.

However I need some parts to be dynamic, mostly cookie related stuff.

Until the latest update I was using the following code:

<!-- mclude ../functions.php -->
<?php require('functions.php'); ?>
<!-- /mclude -->

With the latest update I changed it to

<!-- mclude cacheit ../functions.php -->
<?php require('functions.php'); ?>
<!-- /mclude cacheit -->

after declaring

define('W3TC_DYNAMIC_SECURITY', 'cacheit');

However this is not working correctly. The code runs one time and then gets cached.

What's the problem?

Thanks
Marco

http://wordpress.org/extend/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>