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

W3 Total Cache, RackSpace Cloud Files, and Forcing Downloads [closed]

This can be broken down to a simple task by adding a custom filter. You will need to add the following to the _send_request method within the CF_Http class in cloudfiles_http.php line 1283. $headers = $this->_make_headers($hdrs); //Add this line below $headers = apply_filters(‘cloudfiles_headers’, $headers, $url_path, $method); This will give you access to the headers from … Read more

Is W3 Total Cache still useful with CloudFlare? [closed]

W3TC is a framework. The intent is to optimize the origin (the stack the WordPress application runs on) and THEN what runs “on top” of it. A great discussion around that is available here: http://websynthesis.com/wsa/wp-content/uploads/2013/09/The-Truth-About-WordPress-Performance.pdf?utm_content=buffere8e5b&utm_source=buffer&utm_medium=twitter&utm_campaign=Buffer So yes, Cloudflare and other similar providers like Yotta and the like may apply browser caching policies, provide multiple edge … Read more

Proper hook for W3TC defines, or dynamically disable w3 total cache [closed]

U could try using this type function: add_action( ‘wp_print_scripts’, ‘my_deregister_javascript’, 100 ); if ( !is_page(‘Events’) ) { wp_deregister_script( ‘wpng-calendar’ ); wp_deregister_script( ‘date-js’ ); wp_deregister_script( ‘thickbox-js’ ); wp_deregister_script( ‘jquery-js’ ); wp_deregister_script( ‘wiky-js’ ); } } Found it on this website U’ll have to modify the nandlers to your needs, i found the W3TC handlers to be: … Read more

How does W3 Total Cache CDN URL rewrites work? [closed]

The W3 Total Cache plugin changes the URL of various files in /w3-total-cache/lib/W3/Plugin/Cdn.php in the function *ob_callback*. It uses a series of callbacks to modify an output buffer. The code runs like this: w3_total_cache.php calls $root->run(); W3_Root::run calls $plugin->run() for each plugin in $this->_loaded_plugins W3_Plugin_TotalCache::run starts an output buffer which calls W3_Plugin_TotalCache::ob_callback W3_Plugin_TotalCache::ob_callback calls w3tc_do_ob_callbacks() … Read more

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