httpd -l only shows statically linked modules; If you have a "CacheEnable disk" 
statement somewhere in your conf which is not enclosed in <IfModule ...> and 
you do not get an error, and you cache file structure does get created, then 
your cache modules are most probably loaded.
 
Rather than _assuming_ that things are "taken from cache", I would recommend 
that you gain certainty by using a tool like "HTTP Watch" with IE to see what 
IE actually does, or/and use a network sniffer (snoop, Ethereal) to see what is 
actually transmitted over the network.
 
HTTP Watch allows you to see the contents of the stream received from the 
server, see cookies, headers, whether a page was fetched from cache etc. It's a 
very handy tool in debugging such issues.
 
If you cannot change the application so it sets the required headers, then you 
may need to build that two-stage rocket I mentioned.
 
You would need two virtual hosts:
- VH1 would accept the requests from the clients, do ProxyPass to the second 
rocket stage and cache any cacheable response.
- VH2 would accept the requests from the first stage (could listen on localhost 
only), pass the requests to the application, set the apropriate headers and 
return the response with headers determining cacheability.


BR
-ascs
________________________________

From: Diana Horvitz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 10, 2005 8:32 AM
To: 'users@httpd.apache.org'
Subject: RE: [EMAIL PROTECTED] "Expires" and "Cache-Control" don't work properly



Hi Axel, 

Thanks for your answer. 
Running "httpd -l", I don't see neither mod_cache nor mod_disk_cache - can the 
problem be here? 

The elements are cached by the browser (both IE and NS 7). 
I'll try to clarify: 
- The URLs are added to the history. If you try to access one of such URLs from 
the history, the request goes to the application and it knows how to deal with 
the request.

- However, if you open the list under the browser's "Back" button and click on 
one of the entries there, the page is displayed, but the request never reaches 
the application, therefore I assume it is taken from the cache.

- In addition, I have found that, once you click on one of those entries (and 
get the page), all the entries following that one disappear.

I can't have the application set the appropriate headers. I have also tried 
META tags with no success. 
If I could have the application set the headers, how do I tell Apache not to 
override them? 

I have tried the configuration you sent, it doesn't seem to help. 

Thanks again, any idea is welcome 

Diana 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to