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

W3 Total Cache active but not working [closed]

mod_deflate: Not detected (required for Page Cache (enhanced mode) and Browser Cache) mod_env: Not detected (required for Page Cache (enhanced mode) and Browser Cache) mod_expires: Not detected (required for Page Cache (enhanced mode) and Browser Cache) mod_headers: Not detected (required for Page Cache (enhanced mode) and Browser Cache) mod_mime: Not detected (required for Page Cache … Read more

Need to create a function that will run regardless of W3TC PageCache for every page request [closed]

Since W3TC serves cached pages via htaccess before PHP can do anything, you will have to either: Do this directly in the .htaccess file before the W3TC rules. See for example https://stackoverflow.com/questions/293285/want-to-redirect-all-visitors-except-for-me, although that won’t be possible if the list of IPs is dynamic or in a database) Disable W3 Total Cache’s “page cache” but … Read more

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