Re: [squid-users] Squid not caching

From: Ken <ken@dont-contact.us>
Date: Fri, 9 Jan 2004 18:12:22 +0100 (CET)

Darren,

The "Cacheability Engine" link pointed me to http://www.ircache.net/cgi-bin/cacheability.py where I tested my page. Henrik hinted that it was not Squid... a second later I saw it was the header which was missing: my page wasn't talking to Squid.

As I am using Zope, I did it the Zope way:
<dtml-call "RESPONSE.setHeader('Cache-Control','max-age=7776000')">
The Caching Tutorial (http://www.mnot.net/cache_docs/) gives instructions for other server technologies.

The resulting HTTP header is not visible in the HTML source (explained here: http://www.mnot.net/cache_docs/#META).

After that, I had a beer... maybe that's what you meant by 'fix'?

>Ken wrote:
>> Thank you Henrik! We're caching!
>>
>> milles mercis,
>>
>> Ken
>
>
>What was your particular fix? I think one of my proxies is doing the
same thing...
>
>>
>>
>>>Have your read the "Caching Tutorial for Web Authors and Webmasters"
>>
>> tutorial? <url:http://www.mnot.net/cache_docs/>
>>
>>>The "Cacheability Engine" <url:http://www.mnot.net/cacheability/> is also
>>
>> useful when looking into these kinds of problems.
>>
>>
>>>Regards
>>>Henrik
Received on Fri Jan 09 2004 - 10:12:24 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST