Programmatically disable W3 Total Cache in development environment [closed]

Caching plugins are very challenging to disable because on top of normal plugin functionality they tend to: created extra drop-in files set caching constants bypass PHP completely with .htaccess While it’s not impossible to mangle specific plugin into submission, it’s flaky. More reliable to explicitly disable it in dev and keep. Note that implicitly stopping … Read more

WP-e-Commerce and W3-Total-Cache integration problem [closed]

W3 Total Cache is a very advanced plugin that has built in ways to handle almost any situation. To exclude a page from being cached use one of the following commands below: define(‘DONOTCACHEPAGE’, true); Disables page caching for a given page. define(‘DONOTCACHEDB’, true); Disables database caching for given page. define(‘DONOTMINIFY’, true); Disables minify for a … Read more

Exclude certain block from caching using Fragment Caching – doesn’t work [closed]

From the source: Here (source) is the mfunc part in the 0.9.2.9 version of the W3TC plugin where the regular expression is: $buffer = preg_replace_callback(‘~<!–\s*mfunc\s*’ . W3TC_DYNAMIC_SECURITY . ‘(.*)–>(.*)<!–\s*/mfunc\s*’ . W3TC_DYNAMIC_SECURITY . ‘\s*–>~Uis’, array( &$this, ‘_parse_dynamic_mfunc’ ), $buffer); From this it looks like the setup should be <!– mfunc W3TC_DYNAMIC_SECURITY code1–> code2 <!– /mfunc W3TC_DYNAMIC_SECURITY … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)