Re: [squid-users] caching uniface dynamic pages

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Mar 2001 16:53:26 +0200

selvatico patrice wrote:

> I still can figure out how to cache dynamic pages.

For a start Squid must have some information telling it that the object
can be cached. Your refresh_pattern settings is one such

refresh_pattern . 5 20% 5
refresh_pattern ^http: 5 10% 5

This should allow Squid to cache objects for 5 minutes.

But: Most "dynamic" servers also mark their returned pages as
uncacheable in more ways than not containing enought information to tell
that they can be cached. For example by having an explicit "Expires:" or
"no-cache" reply header. To find out the details of what the reply looks
like, enable log_mime_hdrs in squid.conf.

In practical life for accelerators, allowing caching is best attacked at
the server. Most servers allows you to reconfigure them to return
cachable replies.

--
Henrik Nordstrom
Squid hacker
Received on Wed Mar 28 2001 - 07:57:05 MST

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