Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Sleep - settle an argument?

by ultranerds (Friar)
on Sep 20, 2012 at 13:19 UTC ( #994662=note: print w/ replies, xml ) Need Help??

in reply to Re: Sleep - settle an argument?
in thread Sleep - settle an argument?

>>IIRC, most browsers of old would not start rendering the document until it had been fully transmitted from the server and the connection closed, so a sleep() in a CGI would just make the connection appear to "hang" while unnecessarily eating up resources on the web server. <<<

Thanks, that was what I was thinking of - although I could swear than when I used it in a browser run script in my very early years, it simply ignored the sleep and run as normal - but my memory isn't as good as it used to be! (not good for a 28 year old to be saying ;))

Comment on Re^2: Sleep - settle an argument?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2016-02-12 10:29 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (395 votes), past polls