Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by andye (Curate)
on Jan 15, 2009 at 16:53 UTC ( [id://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)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-26 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found