fre 2003-05-09 klockan 11.49 skrev Andy Simpkins:
> My understanding of a cache is that a local copy of a file is 'saved' and
> whenever the file is requested from a machine using the cache then the
> cached copy of the file is delivered instead of downloading the file from
> the remote server again. Great saves lots of bandwidth and reduces load on
> the original server, but doesn't the cache server still needs to check the
> original server to see if the file has changed?
Depends. The cache may assume the file has not changed if
a) The server said that the information is fresh for a certain period of
time
b) If the server did not indicate how long the information is fresh or
that the information is private an may not be cached then the cache may
make assumptions, usually based on modification time and URL. In Squid
these assumptions is controlled by refresh_pattern rules in squd.conf.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected]Received on Fri May 09 2003 - 05:49:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:29 MST