> Fre de Vries wrote:
> What i did is this:
> Point my browser to www.euronet.nl
> point my browser to a local webpage
> clear the local IE4 cache
> point my browser to www.euronet.nl again.
>
> The first and the second time loading take the same time.
> This happen to all pages
> I do not have any refresh_patterns set in squid.conf
[snip access.log]
They take the same time because squid has already cached it! All the lines
in your access.log that say TCP_HIT or TCP_REFRESH_HIT are cache hits. Other
URLs have '?'s in them, which is a convention used by web sites to indicate
that an object must not be cached. The remaining TCP_MISS of interest
(http://www.euronet.nl/ned/index.html) is not cached because the web server
did not send a "Last Modified" header and the default refresh_pattern has a
minimum cache time setting of 0.
There's nothing wrong here at all. If you wish, you could increase the
amount your squid can cache by tweaking the refresh_pattern rules, but this
has to be done carefully otherwise you risk returning stale cache data.
Jifl
--
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK. Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @
marry hoping their wives never do. Both are rare." || jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault