Question:

If I repeat image, is it downloaded from photobucket for each repeat?

by  |  earlier

0 LIKES UnLike

I am using an image from my photobucket as a background for my blog, and I am using this code

background-repeat: repeat;

Is it downloading from photobucket for each repeated image? Or only one time?

 Tags:

   Report

3 ANSWERS


  1. hm, I believe only one.  

    You are requesting one URL from the server, which then responds with that one image file.

    If you did something like:

    <img src="blahblah.jpg" />

    <img src="blahblah.jpg" />

    <img src="blahblah.jpg" />

    <img src="blahblah.jpg" />

    that would request several, but you're requesting one file from the server, and using CSS to display that one image requested from the server several times.

    :)


  2. It's only downloaded once by each visitor to your blog, it will then be cached (stored) on the user's computer so it doesn't have to be downloaded again.

    So each visitor's computer only asks photobucket for the image one time and then temporarily stores the image so it won't have to download it again.

  3. If you are using the same image over and over on one website, the browser will store that image in the cache.  Thus it only downloads the image once.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions