Erica Zhang wrote:
Hi,
I want to cache the responses for XMLHttpRequest, that is dynamic content. I have configureed http.conf using Expires to add headers to those responses. However, I still could not find those responses to be able to be cached by use of web browser (Firefox 2.0). Also, I tried to add Header to enable Cache-Control and etc. However they could not work either.
So I am not sure if there is a way to cache XMLHttpRequest.
Thanks,
Erica

Apache doesn't know that a given request is an XMLHttpRequest - it's no different from a normal request.

Are the requests that you're making identical each time?
Can you post some examples of the URL that's being requested?

What does your access_log say, e.g. is it returning 200 for each request?


p



---------------------------------------------------------------------
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]




---------------------------------------------------------------------
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