httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] mod_disk_cache difficulties
Date Wed, 17 Nov 2004 12:28:51 GMT
well,
you could simply remove the
Vary: Cookie
Cache-Control: must-revalidate
but this depends very much on your needs. what is the cgi used for?

>I asked:
>>>> I am hoping to be able to use mod_cache and mod_disk_cache to cache the
>>>> output from a slow CGI process and thereby reduce server load and
>>>> increase responsiveness.  The CGI process decodes and generates the
>>>> necessary HTTP headers so that browser caching of this content works.
>>>> So far, however, I have not managed to get Apache to cache this 
>>>> content.
>>>> Providing a server-side shared cache would give me a significant
>>>> performance boost and I would love to get it working.
> >>>
>>>> Vary: Cookie
>>>> Cache-Control: must-revalidate
>>>> ETag: "ghetuierhgreiu"
>
> Joshua replied:
>>> I know very little about mod_cache, but it is my understanding that it
>>> has no support for Vary, and will therefore mark all headers with Vary
>>> in them as uncachable.
>
> Ralf wrote:
> > well, one idea would be to put another cgi-wrapper around the original
> > cgi modifying the headers. not very clean but might work.
>
> Hi Ralf,
>
> What modification to the headers do you suggest?
>
> Regards,
>
> Phil.
>
>
> ---------------------------------------------------------------------
> 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