MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on May 04, 2015, 08:56:48 AM

Title: How to disable XCache per domain using .htaccess file?
Post by: Dipak Bhoi on May 04, 2015, 08:56:48 AM
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 !! :) :)