pauldmtvu
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Super Cache] how-to keep shopping cart dynamic?Forum: Plugins
In reply to: [Plugin: WP Super Cache] how-to keep shopping cart dynamic?Thanks as always for the speedy replies Donncha.
We changed the wp-cache-config.php to have:
$wp_super_cache_late_init = 1;It hasn’t helped so far. Is there documentation somewhere on how to use the late_init feature?
If we can’t sort it out, it’s not a deal-breaker. We’ll try going with javascript or maybe just exclude all pages of this category to be non-cached by excluding the category string… though it sure would be nice to keep some caching on all those posts.
Thanks again
PaulForum: Plugins
In reply to: [Plugin: WP Super Cache] how-to keep shopping cart dynamic?Having a similar problem to RavanH. Where the mincl and mfunc seems to die or when a cached version of a post is served.
Here’s a test post:
https://deadlydragonsound.com/wp/records-for-sale/6286we have modified single.php with the following:
<!--mclude displaybuylink.inc.php--> <?php include_once( ABSPATH .'/../includes/displaybuylink.inc.php' ); ?> <!--/mclude--> <!-- use this code to display the buy link --> <!--mfunc displayBuyLink3($recordID)--> <?php displayBuyLink3($recordID); ?> <!--/mfunc-->
it works fine uncached (try the usual throwing in ?asdf123 or some junk at end of URL to see it working — it will display a red “BUY” button)
I did the suggestion from Donncha:
$wp_super_cache_late_init to 1 in wp-content/wp-cache-config.phpand that at least shows some errors, which indicate to me that the function is cached – I think?
If I change it back to 0, it just dies at <!–mfunc when I view source.
WordPress 2.9.1 with WP Super Cache 0.9.9 set to Half-on.
Thanks in advance for any help!