Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: How to wait until GD Image it written, then continue

by andye (Curate)
on Jan 15, 2009 at 16:53 UTC ( #736585=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to wait until GD Image it written, then continue
in thread How to wait until GD Image it written, then continue

Is there some spooky content command or something to tell a user's browser to not cache files or something like that so this doesn't crop up for other users?

these HTTP header values may be relevant

'Pragma' => 'no-cache' 'Cache-Control' => 'no-cache' 'Expires' => 0
another method is to make sure the URL is different each time (e.g. by appending a GET parameter showing the current datetime).

hth!

a.

update: don't forget, the user's browser isn't the only place that caching can occur. it can happen at your end, at the user's end, or anywhere in between (e.g. reverse caching proxy at the ISP)


Comment on Re^3: How to wait until GD Image it written, then continue
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-07-26 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls