Florian Lohoff wrote:
>
> > \.jp..$ won't cut it because it only catches jpeg files, not jpg files.
> > And \.jp.$ is dangerous because it matches http://some.domain.jp/
> > (or am I overlooking something?)!
> >
> > So when you need two patterns anyway, why not use \.jpg$ and \.jpeg$
> > ?
>
> I have now modified my access classes like this,
> to cover most of the images/image formats, and bins gotten with http protocol.
>
> ttl_pattern ^http:// 1440 20% 43200
> ttl_pattern ^ftp:// 10080 50% 43200
> ttl_pattern/i \.(gif|jpg|jpeg|xbm|png)$ 5760 50% 43200
> ttl_pattern/i \.(zip|lha|arc|arj|rar|tgz|gz|tar|exe|pdf)$ 10080 50% 43200
> ttl_pattern/i \.(shmtl|phtml)$ 0 0% 0
> ttl_pattern/i cgi 0 0% 43200
Maybe you should add:
ttl_pattern /$ 180
20% 43200
This would cause more frequent IMS requests for index files. In my tests
this greatly
reduces chances of delivering stale copies of sites that change
frequently.
Taho
Received on Thu Oct 17 1996 - 10:22:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:18 MST