httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: [users@httpd] How to cache the responses for XMLHttpRquest
Date Wed, 07 Mar 2007 08:38:46 GMT
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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message