MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to disable XCache per domain using .htaccess file?  (Read 5271 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
How to disable XCache per domain using .htaccess file?
« 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.

Quote
php_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.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

How to disable XCache per domain using .htaccess file?
« on: May 04, 2015, 08:56:48 AM »