I’m developing a web application that is highly dependent on pre-loading images before displaying them to the user. However, depending on the user’s actions, it would sometimes be important to terminate the loading of an image before it has a chance to finalize, so as not to waste bandwidth.
Is it possible to do this? If so, how exactly?
I’m developing a web application that is highly dependent on pre-loading images before displaying
Share
I found an acceptable (more or less) solution to my problem on Javascript: Cancel/Stop Image Requests and applied it like this:
This achieves the result I was looking for, although I’m afraid it puts an end to all other HTTP requests as well.