Re: Web Pages

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 26 Jul 1999 22:45:35 +0200

Joel Taqueban wrote:

> * I tried to see the contents of my boss' disk cache but all I saw
> were .jpg and .gif files. How can I tell if my boss is accessing
> his disk cache from these .jpg and .gif files?

Your proxy log will tell for sure.

> * If it is not from his disk cache, how would I know that the pages
> he fetched were from the proxy?

Again your proxy log.

> * And a question I couldn't answer, how would I know the contents
> of the pages on my proxy such that I know cnn.com or other pages
> are there?

Your proxy log will tell you if the page was fetched from cache or from
the Internet, or if it was denied by Squid.

> * How do I tell squid to fetch pages from news pages automatically
> every 4 hrs. for example so that the user is ensured he always
> gets a fresh copy?

Use refresh pattern settings to deny Squid giving the user a news page
which is older than 4 hours.

Three things I can imagine did happen provided that your Squid
configuration did function properly:

a) Your boss had the page cached locally and his browser did not even
bother to try to verify that the page was fresh.

b) The browser did verify that the page was fresh, but selected to view
the previously cached version when access was denied.

c) Your boss did bypass your Squid proxy or access rules somehow. Maybe
you have an exception giving your boss access all time, or he isn't
using the proxy.

Squids http_access checks is performed on every request.

miss_access checks is only performed when Squid needs to contact another
server.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Mon Jul 26 1999 - 15:20:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:33 MST