Re: problems with 1.1.1 (fwd)

From: Ed Knowles <ed@dont-contact.us>
Date: Sat, 11 Jan 1997 21:23:54 -0400

G'day Oskar!

> #I am not sure that these still have to be here with cache_stoplist, but
> better # safe than sorry
> refresh_pattern cgi 0 0 0
> refresh_pattern exec 0 0 0
> refresh_pattern dll 0 0 0
> refresh_pattern asp 0 0 0

If you just don't want this stuff written to disk, cache _stoplist is all that
is needed.

> refresh_pattern ^http:// 0 30% 8640
> refresh_pattern \.gif$ 0 50% 8640
> refresh_pattern \.jpg$ 0 50% 8640
> refresh_pattern ^ftp:// 10080 20% 10080
> ====================================
>
> Now if my logic is right, it should match on "http" and since it doesn't
> contain a meta tag:

Matches "http" as that is the first pattern that is matched. The first entry
which matches is used. You may want to move your gif/jpg patterns above the
http one.

> ===============================================
> newt:~> telnet www.vodacom.co.za 80
> Trying 196.7.72.14...
> Connected to www.vodacom.co.za.
> Escape character is '^]'.
> GET / HTTP/1.0
>
> HTTP/1.0 200 OK
> Server: Netscape-Commerce/1.1
> Date: Saturday, 11-Jan-97 10:00:57 GMT
> Content-type: text/html
>
> <html>
> =============================================
> It should be got in 8640 minutes?

No.

The refresh algorithm checks for (AGE > MAX_AGE), which will be false, so that
branch is skipped, with all the tests 'failing', the object is tagged as stale.
To keep the page 'fresh' you will want to increase min in the refresh_pattern.

See 'Refresh Rules and If-Modified-Since' in Release-Notes-1.1.txt for more
information.

Later
Ed

-- 
Ed Knowles aka Jasper				   Phone : +61 2 9385 4962
E-mail: ed@fatboy.geog.unsw.edu.au	           Fax   : +61 2 9313 7878
            What I lack in morals I make up for in principles.
Received on Sat Jan 11 1997 - 02:28:21 MST

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