[squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-04 Thread howard chen
Hi Guy, A lot of tutorial on the Internet teach you how to config Squid as a reverse proxy, such as I followed this article: http://wiki.squid-cache.org/SquidFaq/ReverseProxy, stuffs seems to be working for me, but I think I might need some tweaks but I found it difficult to find those information

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-04 Thread Henrik Nordstrom
tor 2008-06-05 klockan 00:19 +0800 skrev howard chen: > 1. Is it true Squid will only use the Last Modified and Cache Control > header for caching, Yes. > other headers are not important in my setup? Well.. don't send conflicting Expires or "Pragma: no-cache" headers.. > 2. I found that Squid w

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-04 Thread howard chen
Hi, On Thu, Jun 5, 2008 at 2:15 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > tor 2008-06-05 klockan 00:19 +0800 skrev howard chen: >> 1. Is it true Squid will only use the Last Modified and Cache Control >> header for caching, > > Yes. > >> other headers are not important in my setup? > > We

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-04 Thread Henrik Nordstrom
On tor, 2008-06-05 at 02:48 +0800, howard chen wrote: > The following is my understanding (correct me if I am wrong) > > 1. When Apache send Expire =... thru Squid, if it is future time, then > client won't issue any request to the server side again for the same > resource (unless you press F5 to

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-05 Thread howard chen
Hi On Thu, Jun 5, 2008 at 5:55 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > It's generally a lot better if you make the web server send the proper > headers than trying to tweak things using refresh_pattern. Proper > headers works for all, refresh_pattern just for your Squid.. > I have mu

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-05 Thread Henrik Nordstrom
On tor, 2008-06-05 at 23:53 +0800, howard chen wrote: > 1. I found that if a file only has LM being sent out, the browser > seems to cache the file forever and won't request the server until you > press F5, is it true? Browser caches is quite often very agressive and only checks for modification

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-05 Thread howard chen
Hi, On Fri, Jun 6, 2008 at 12:30 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tor, 2008-06-05 at 23:53 +0800, howard chen wrote: > >> 1. I found that if a file only has LM being sent out, the browser >> seems to cache the file forever and won't request the server until you >> press F5, is

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-05 Thread Henrik Nordstrom
fre 2008-06-06 klockan 01:14 +0800 skrev howard chen: > I use FF 2.0 and LiveHTTP header to view the req/response, and after I > got the file for the first time, my FF will not issue the second time, > even if I close my browser. It probably depends a bit on how old Last-Modified is.. > If I pres

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-05 Thread Henrik Nordstrom
fre 2008-06-06 klockan 01:14 +0800 skrev howard chen: > E.g. > http://www.uwants.com/images/home/title_forum.jpg That server is broken and returns different ETags for the same object. I would guess it's a replicated Apache cluster where Apache hasn't been properly configured for such setups (the E

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-08 Thread howard chen
Hi Thank you very much, after played around for sometime, concept about caching are much clear now! On Fri, Jun 6, 2008 at 4:00 AM, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > There is a default refresh_pattern in the code, equal to > refresh_pattern . 0 20% 4320 > 1

Re: [squid-users] Squid as Reverse Proxy - Backend Server Issues

2008-06-08 Thread Henrik Nordstrom
On mån, 2008-06-09 at 02:46 +0800, howard chen wrote: > Hi > > Thank you very much, after played around for sometime, concept about > caching are much clear now! > > > On Fri, Jun 6, 2008 at 4:00 AM, Henrik Nordstrom > <[EMAIL PROTECTED]> wrote: > > > > There is a default refresh_pattern in the