Re: [squid-users] Re: Why does squid 2.6 stable 16 running in accelerator mode NEVER caches html requests ?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 11 Oct 2007 16:39:25 +1300 (NZDT)

> On Wed, 10 Oct 2007 09:26:42 -0700 (PDT)
> Raemaekers Mark <markraem@yahoo.com> wrote:
>
>> Dear squid-cache.org,
>>
>> I have three RHEL4 servers :
>>
>> 1. configured with squid 2.6 Version 2.6.STABLE16 in
>> accelerator mode
>> 2. configured with (apache) httpd daemon
>> 3. this machine has curl installed (to generate http
>> requests)
>>
>>
>> Each time I do curl http://omp.wc.be/home.html,
>
> Are the pages cachable? What does curl -I http://omp.wc.be/home.html
> say?
>
>> I
>> notice that the WC ALLWAYS sends the reqeust to the
>> http server. It does NOT cache my home.html page.
>> If I remove the "always_direct allow all" statement
>> then I get the error back from WC that it is unable to
>> forward request.
>
> always_direct is about whether squid uses other caches; that's not
> relevant here since you only have one.

However in accelerator mode the origin web server can be considered a
parent cache for certain URL.

Amos
Received on Wed Oct 10 2007 - 21:39:28 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT