Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: cache problems

by JPaul (Hermit)
on Aug 14, 2003 at 15:57 UTC ( [id://283919]=note: print w/replies, xml ) Need Help??


in reply to cache problems

At one point, many moons ago, while developing CGI and finding that I had caching issues (Although I don't recall the specifics of what exactly was getting cached when I didn't want it to) I added this to the CGI header:
print $q->header(-expires => '-1d');
I've never had a caching issue since. Perhaps this is overkill, and perhaps its not necessary, but at the time this was the only option that appeared to make a difference.

For what its worth,
JP
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found