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

Re: Verify images loaded?

by markexpjp (Novice)
on Jul 09, 2003 at 03:54 UTC ( [id://272561]=note: print w/replies, xml ) Need Help??


in reply to Verify images loaded?

Better off just doing a preload of all of them (pretty small anyway), you can't do anything from the server side, short of adding an Apache module or something to check that the client had requested and been sent at least half of the images. Or you might be able to do it with Perl and server logs, provided you have permission to change the format of your server logs and that Perl has permission to read them... but this is very silly. I think you're better off just preloading all and not worrying about it. And now for something completely different.

___________________________
10 poke53280,a:poke53281,a
20 ?"c64 rules ";
30 a=a+1:ifa=16thena=0:goto 10

Replies are listed 'Best First'.
Re: Re: Verify images loaded?
by bunnyman (Hermit) on Jul 09, 2003 at 14:41 UTC
    check that the client had requested and been sent at least half of the images.

    Except that that's impossible. The HTML page must be sent first so that the client will know which images to request. If the server doesn't send the HTML, it will never receive requests for the images in the first place, and if it sends the HTML, the client will display it.

Log In?
Username:
Password:

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

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

    No recent polls found