Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74793

Does tag fetch the image from local computer or the website server?

$
0
0

I'm curious whether when you host a website with any tag that fetches from another website, does the website you create send that request? Or is that get request sent directly from your computer.

E.g. one scenario where you have one image at "theimage.com", your website with an image tag with src="theimage.com", and your computer who's sending a get request to your website.

When your computer sends the get request, my common sense tells me your computer directly downloads the image from theimage.com and the server doesn't have to download it first. However, when you use methods like new XMLHttpRequest() in the front end, do these put extra load on your website?


Viewing all articles
Browse latest Browse all 74793

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>