Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Latency in display images

Latency in display images

Scheduled Pinned Locked Moved Design and Architecture
helpquestiondiscussion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vkEE
    wrote on last edited by
    #1

    Hi, I just started a few days ago at my new work place. One issue, my first issue, I am researching on - we have the main company web site on main domain, all the images are located in sub domain. It is a heavy images driven web site. On the IE Explorer, after you load the web site, and hit the key F12, you are able to run some statistics on the current web page. There is a latency in loading the images, although the image is ready to be loaded. Any thoughts on the latency? Do you think it is because on running on sub-domain? When I plug in the URL directly to the image, the response time is much faster, while the main web site's response time is almost double the time. Also the received size is not the same on both images, once from the main web site, and once from the plugging in the url directly. Thank you!!

    B J M 3 Replies Last reply
    0
    • V vkEE

      Hi, I just started a few days ago at my new work place. One issue, my first issue, I am researching on - we have the main company web site on main domain, all the images are located in sub domain. It is a heavy images driven web site. On the IE Explorer, after you load the web site, and hit the key F12, you are able to run some statistics on the current web page. There is a latency in loading the images, although the image is ready to be loaded. Any thoughts on the latency? Do you think it is because on running on sub-domain? When I plug in the URL directly to the image, the response time is much faster, while the main web site's response time is almost double the time. Also the received size is not the same on both images, once from the main web site, and once from the plugging in the url directly. Thank you!!

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      Where is the sub-domain hosted - on the same server with the main domain? What is "plug in the URL directly to the image" - I do not understand that.

      1 Reply Last reply
      0
      • V vkEE

        Hi, I just started a few days ago at my new work place. One issue, my first issue, I am researching on - we have the main company web site on main domain, all the images are located in sub domain. It is a heavy images driven web site. On the IE Explorer, after you load the web site, and hit the key F12, you are able to run some statistics on the current web page. There is a latency in loading the images, although the image is ready to be loaded. Any thoughts on the latency? Do you think it is because on running on sub-domain? When I plug in the URL directly to the image, the response time is much faster, while the main web site's response time is almost double the time. Also the received size is not the same on both images, once from the main web site, and once from the plugging in the url directly. Thank you!!

        J Offline
        J Offline
        Jose Amilcar Casimiro
        wrote on last edited by
        #3

        How are the site loading the images? Did you see that code? It is very strange that the image does not have the same size.

        1 Reply Last reply
        0
        • V vkEE

          Hi, I just started a few days ago at my new work place. One issue, my first issue, I am researching on - we have the main company web site on main domain, all the images are located in sub domain. It is a heavy images driven web site. On the IE Explorer, after you load the web site, and hit the key F12, you are able to run some statistics on the current web page. There is a latency in loading the images, although the image is ready to be loaded. Any thoughts on the latency? Do you think it is because on running on sub-domain? When I plug in the URL directly to the image, the response time is much faster, while the main web site's response time is almost double the time. Also the received size is not the same on both images, once from the main web site, and once from the plugging in the url directly. Thank you!!

          M Offline
          M Offline
          Marco Bertschi
          wrote on last edited by
          #4

          I think this has to do with the fact that some browsers first load what they see as 'the main content' - e.g. if your site is hosted on 'mydomain.com' and your images are hosted on 'img.mydomain.com' the browser loads content residing on 'mydomain.com' first because you entered this URL and the browser assumes that you want to see this content before loading the other content from a subdomain. Another cause are possibly very large images - Their transmission via network is slower than the site's content and therefore they are displayed after the site has loaded (just because they are not completly transmitted yet). cheers, Marco

          Marco Bertschi


          CodeProject 10 Million members celebration meetup - Switzerland

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups