Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: I have trying out the No Cache and Expires but no work

by tachyon (Chancellor)
on Jun 07, 2001 at 16:10 UTC ( #86520=note: print w/ replies, xml ) Need Help??


in reply to Re: I have trying out the No Cache and Expires but no work
in thread I have trying out the No Cache and Expires but no work

Good post. The expires header requires a valid date if you output it yourself ie:

Expires: Fri, 30 Oct 1998 14:19:41 GMT

With CGI.pm however, a variety of options (including -'1d')are allowed when you pass values to it, presumably these are converted into a time in GMT - I have never bothered to check. If you send invalid date values in an HTTP expires header (ie 'now' or '0') it is interpreted as being in the past so has the desired effect anyway.

tachyon


Comment on Re: Re: I have trying out the No Cache and Expires but no work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-08-30 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls