Bill Shupp writes: 

> on 7/31/01 12:00 PM, Oden Eriksson at [EMAIL PROTECTED] spake:
>> Great work Bill ! 
>> 
>> Nice to see my thoughts adopted. 
>> 
>> Does the "--enable-no-cache={N|y}" option apply to both html template
>> headers and build in http v1.1 headers ?
> 
> I'm not sure what you mean.. The only <meta> tag for setting no cache is in
> mod_mailinglist_idx.html.  I put it there because Konquerer was not getting
> the current IDX values due to caching.

Yes, and as I remember I was the one reporting this issue. The tag (http 
v1.0) which many clients obey if present: 

<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 

... should also be included in other pages such as the one presented after 
adding a user. 

> But the --enable-no-cache was submitted by Antonio Dias, and sends HTTP
> headers.  I just added it as a configure option.  Here's the code from
> qmailadmin.c: 
> 
> --snip--
>         fprintf(actout,"Content-Type: text/html\n");
> #ifdef NO_CACHE
>         fprintf(actout,"Cache-Control: no-cache\n");
>         fprintf(actout,"Cache-Control: no-store\n");
>         fprintf(actout,"Pragma: no-cache\n");
>         fprintf(actout,"Expires: Thu, 01 Dec 1994 16:00:00 GMT\n");
> #endif  
>         fprintf(actout,"\n");
> --snip--

Great ! 

Well, then it should work with modern clients as http v1.1 has precedence 
over http v1.0. But I belive if the meta tag "no-cache" stuff in the html 
template is present it will be utilized by the client anyway..., so it might 
be an good idea to involve that in the configure option too. This is what I 
ment. 

> Regards, 
> 
> Bill Shupp 
> 
 


 --
Kindest regards // Oden Eriksson
Kvikkjokk Networks 

Reply via email to