On Thu, 27 Jan 2005 johnsuth@xxxxxxxxxxxxx wrote:
O'Reilly's Definitive Guide to HTML and XHTML has no reference in the index for either Expires or Cache-control, so why would any web page contain such information?
A web page wouldn't, but the HTTP response containing the HTML object/page may.
It looks like Squid will fail to serve most web pages. Is this a correct interpretation?
Squid follows the HTTP specifications on what may be cached, and quite closely matches what the cacheability check engine reports.
You can tweak this in by the refresh_pattern setting.
With todays dynamic world a lot of pages is not cacheable due to being dynamically generated by the web server on each request. Most linked images, objects etc is cacheable however.
Regards Henrik