resources - PHP Infinite Sleep -
my web page has following sleep line in it:
sleep(600);
for user, appear if page loading "forever". effect desired.
however, create process lasts 10 minutes, eating system resources. there way create same effect user (loading "forever") without having lengthy process?
try using jquery script. work, because design reason right? or thinking wrong.
body {display: none}
then jquery
$("body").delay(millisecond_wait).attr("display", "block");
Comments
Post a Comment