G
GeezerButler
I thought JS was purely on client side. But if i do myImage.src =
'someImageOnServer.gif", it seems to work.
How does JS do this?
Is a request sent to the server when this line of code is executed? If
yes, then what kind of technique does JS use for loading this image.
OR
Do browsers download all server images when an initial server request
is made, put it in some client side cache and later JS accesses this
cache.
OR
some other mechanism?
'someImageOnServer.gif", it seems to work.
How does JS do this?
Is a request sent to the server when this line of code is executed? If
yes, then what kind of technique does JS use for loading this image.
OR
Do browsers download all server images when an initial server request
is made, put it in some client side cache and later JS accesses this
cache.
OR
some other mechanism?