MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to disable Cache in .htaccess file ?  (Read 5240 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 Cache in .htaccess file ?
« on: July 14, 2014, 11:58:05 AM »
Hello,

Sometime you made the changes under your html file or php file but it was not show latest changes but  shows old page. I have checked most of the people faced this problem after investigating on this. I found that it was a cache due to they are not seeing latest changes that they made in file. To see the latest updated page you can fire the keyboard combination key " Ctrl + F5 ". This key will refresh your page forcefully and you should be able to view your latest updated page.

Or you can disable the cache for your account by simply adding the following single line into your .htaccess file.

Quote
CacheDisbale /

Add this line and save your file. Now there is no need to refresh page forcefully. You can directly see your latest changes.

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

MilesWeb Hosting Forum

How to disable Cache in .htaccess file ?
« on: July 14, 2014, 11:58:05 AM »