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!!!
|
---|
In Section
Cool Uses for Perl