Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not a webmaster, and that was exactly the reason why I installed XAMPP 1.7.2 on Windows XP SP2 instead of manually configuring Apache, MySQL and PHP to cooperate each other.

Now I am having to problem to disable caching pages from localhost.

Some suggested just force the browser not to cache, using Firefox web developer bar or something similar; but I feel it would be better if I could configure the Apache server in XAMPP to never allow pages from localhost to be cached.

I guess this is done somewhere in httpd.conf?

LoadModule cache_module modules/mod_cache.so

Would this module be helpful in this case? Doc here : mod_cache

I am not very sure this would resolve the problem. Could anyone confirm this approach feasible? I'd like to work it out myself, given the fact that I am on the right track...

Many thanks in advance

share|improve this question
up vote 2 down vote accepted

Use mod_cache at http://httpd.apache.org/docs/2.0/mod/mod_cache.html

CacheDisable /local_files

Description: Disable caching of specified URLs Syntax: CacheDisable url-string Context: server config, virtual host

share|improve this answer

Do you need to uncomment the module? In my http.conf file the module is commented out with a #:

#LoadModule cache_module modules/mod_cache.so
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .