Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: mod_perl, long running process and broken connections

by edoc (Chaplain)
on Dec 16, 2003 at 00:19 UTC ( [id://314937]=note: print w/replies, xml ) Need Help??


in reply to Re: mod_perl, long running process and broken connections
in thread mod_perl, long running process and broken connections

If you are creating the same images repeatedly then this is definitely the way to go. If you put your image creation routine behind a 404 error handler and name your images so that you can parse out the details required to create the image, then you simply reference the image in your web page. If the image already exists it is served up, otherwise it is created, saved, and returned as normal. Also this way, the worst the user gets is a broken image if the request (for the image) times out.

cheers,

J

  • Comment on Re: Re: mod_perl, long running process and broken connections

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (None)
    As of 2024-04-19 00:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found