httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karjala_li...@karjala.org
Subject Re: [users@httpd] Is it impossible to create a reverse caching proxy with Apache 1? / extra info
Date Thu, 15 Jul 2004 18:19:19 GMT
The pages are being cached, but only in the local cache of my client's 
machine...

No files are being created in the the cacheroot directory.




karjala_lists@karjala.org wrote:

> I've got two installations of Apache running on the same machine 
> (Debian stable), one serves as a reverse proxy for the website which 
> is held by the second apache server (hereafter named "content" server).
>
> I've set up the Caching directives on the "proxy" apache as described 
> in Apache's manual, however it doesn't cache:
>
>    CacheRoot "/home/www/site1/apache-cache"
>    CacheSize 10000
>    CacheGcInterval 1.5
>    CacheMaxExpire 0
>    CacheLastModifiedFactor 0
>    CacheDefaultExpire 0
>
> The CacheRoot directory is read/writable by www-data, Apache's user 
> account, so no problem there.
>
> The requested pages (which aren't cached, but should be) are returned 
> with an ETag field in the HTTP header and a
> Cache-Control: public, must-revalidate, mag-age=0
> in the HTTP header as well.
>
> Cookies (set in HTTP headers which are generated by the "content" 
> server) are used throughout the site.
>
> mod_gzip is used in the proxy server to compress all the HTML pages.
>
> But it doesn't cache.
>
> What am I doing wrong?
>
> - Alexander
>
>
> ---------------------------------------------------------------------
> 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