----- "Nilesh Govindarajan" <lists@xxxxxxxxxx> wrote: > Hi, > > I have an installation of Apache running, so thinking of using it as > a > personal caching server after being fed up of firefox crashes which > clears the cache. > I have set it up using the manual and some guides using Google, but > how do I know that its working ? > Here are my settings: Before saying anything I should tell you that Apache httpd is not really recommended as Forward Proxy. There are better alternatives, (even!) Squid being one of them. > ProxyRequests On > ProxyVia Off > ProxyBadHeader Ignore > ProxyStatus On > <Proxy *> > Order deny,allow > Deny from All > Allow from 192.168.1.0 127.0.0.1 localhost > </Proxy> > AllowCONNECT 443 > CacheDefaultExpire 3600 > CacheMaxExpire 604800 > CacheIgnoreCacheControl On > CacheStorePrivate On > CacheStoreNoStore On > CacheIgnoreNoLastMod On > CacheRoot /home/proxy_cache > CacheEnable disk / > CacheMaxFileSize 5242880 > CacheIgnoreURLSessionIdentifiers jsessionid PHPSESSID sid > > What happens if I remove the CacheMaxExpire directive ? Will Apache > check for the document's last-modified time ? > I would like latest stuff on websites I visit, so please guide me in > the right direction. http://httpd.apache.org/docs/2.2/mod/mod_cache.html#cachemaxexpire I think the documentation is quite clear on this: ``Thus, documents will be out of date at most this number of seconds. This maximum value is enforced even if an expiry date was supplied with the document.'' If you remove the directive it will fall back to: Default: CacheMaxExpire 86400 (one day) What you probably want to do is invalidate the cache, but that can only be done with htcacheclean from trunk so far: http://httpd.apache.org/docs/trunk/programs/htcacheclean.html Which again only makes sense in a reverse proxy setup.... So long, -- Igor Galić Tel: +43 (0) 699 122 96 338 Fax: +43(0) 1 91 333 41 Mail: i.galic@xxxxxxxxxxxxxx URL: http://brainsware.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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx