Re: Caching Priviate Sites

From: Duane Wessels <[email protected]>
Date: Wed, 12 Aug 1998 15:43:28 -0600

"Ron Andrews" writes:

>I've been trying to change the source code for the last couple of
>hours. I'm not getting anywhere (well once I stopped it from
>caching at all).
>
>I've been spending most of my time in the http.c file specifically
>the httpCachableReply function. I'm not sure if I'm even looking in
>the right place.

How about removing this block?

    if (EBIT_TEST(httpState->request->flags, REQ_AUTH)) {
        /*
         * Responses to requests with authorization may be cached
         * only if a Cache-Control: pubic reply header is present.
         * RFC 2068, sec 14.9.4
         */
        if (!EBIT_TEST(cc_mask, CC_PUBLIC))
            return 0;
    }

Of course, that might not be enough. The reply might not be cachable
for other reasons too.

Duane W.
Received on Wed Aug 12 1998 - 14:45:48 MDT

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