Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: overkill anti-caching CGI headers

by oalders (Initiate)
on Aug 28, 2009 at 17:09 UTC ( #791977=note: print w/replies, xml ) Need Help??


in reply to Re: overkill anti-caching CGI headers
in thread overkill anti-caching CGI headers

This worked really well for me too. Am working on an app where AJAX calls were being cached by MSIE 7. I pasted the code into the cgiapp_prerun and instantly all was well.

My only change was to use DateTime rather than POSIX

-Last_Modified => DateTime->now->strftime('%a, %d %b %Y %H:%M:%S GMT')

This saved me a bunch time -- thanks!!!
  • Comment on Re^2: overkill anti-caching CGI headers

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2016-10-01 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (577 votes). Check out past polls.