EXPIRE

From: Johannes Herlitz <jherlitz@dont-contact.us>
Date: Thu, 17 Sep 1998 00:31:49 +0200

Is it possible to disable checking of the "EXPIRE" property of squid
objects ? There are a lot of webpages (www.yahoo.de, for example) that
seem to have this property.

Here is an extract of "/usr/doc/packages/squid/Release-Notes-1.1.txt" to

illustrate the problem:

-----------------
[...]

    EXPIRES is the (optional) expiry time from the server reply headers.

[...]

    if (CLIENT_MAX_AGE)
        if (AGE > CLIENT_MAX_AGE)
            return STALE
    if (AGE <= MIN_AGE)
        return FRESH
    if (EXPIRES) {
        if (EXPIRES <= NOW)
            return STALE
        else
            return FRESH
    }
    if (AGE > MAX_AGE)
        return STALE
    if (LM_FACTOR < PERCENT)
        return FRESH
    return STALE

[...]
-----------------

The lower section is the selection algorithm of the part of squid that
determines if an object is STALE or FRESH. The if-conditions are checked

in the order listed here. I would like to disable the section beginning
with "if (EXPIRES) {".
I am not planning to recompile squid. Any ideas ?
Received on Wed Sep 16 1998 - 15:55:45 MDT

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