On Wed, 2001-09-12 at 19:34, J. Zobel wrote:
> On Mon, 2001-09-10 at 16:19, Brian Wheeler wrote:
> 
> > The only difference between the two (request-wise) is that static pages
> > return a "Last-Modified" header and dynamic data doesn't.  It seems to
> > me that if I drop that header, everything will work :)
> > 
> > I've tried doing:
> > 
> > $r->header_out("Last-Modified"=>'');
> > and
> > $r->header_out("Last-Modified"=>undef);
> > 
> > but the header still comes out.
> > 
> > Thoughts?  Am I on the right track?
> 
> Do not remove Last-Modified.
> Add an Expires (Maybe even 1970).
> 
> If the page is expired, the browser will rerequest it with an
> If-Modified-Since. So you can still play the 304 game.
> 
> Hth,
> Joachim
> 


Wait...maybe it did work. :)  I think my 'log out' procedure is broken,
but it works ok for the 'log in' part :)

Thanks!
Brian


Reply via email to