How to disable XCache per domain using .htaccess file?

Started by Dipak Bhoi, May 04, 2015, 08:56:48 AM

Previous topic - Next topic

Dipak Bhoi

Hello folks,

Sometimes xcache as a php caching mechanism break your site or you facing issue due to xcache enabled on the host server. You can disable the xcache using .htaccess file in the root folder of the website. Add below lines in the file.

Quotephp_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off

Make sure you've allowed htaccess files in apache. Otherwise, it will not work for you.

That's all.

Enjoy !! :) :)
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.