Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8409225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:50:54+00:00 2026-06-09T23:50:54+00:00

Apple.com always display a standard image first and then use javascript to load a

  • 0

Apple.com always display a standard image first and then use javascript to load a retina image if the device supports retina.

I wonder why apple don’t use CSS media query directly to reduce the HTTP requests?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:50:55+00:00Added an answer on June 9, 2026 at 11:50 pm

    Short answer — browser-prefetch.

    There’s nothing that they can do, short of using JS to either:

    1. Do media-query tests, use JS, and fill in HQ-images if support is there
    2. Do media-query tests, use JS and fill in CSS style-sheets (with url-declarations in them), if support is there.

    The goal isn’t to reduce HTTP requests, here. The goal is to reduce concurrent HTTP requests, for data which is largely-redundant – even moreso if the browser doesn’t support the high-res version, but is forced to use that bandwidth, anyway.

    Benefits of doing the JS thing:

    1. Page will load faster, as it’s only the lighter media which is being downloaded
    2. Fewer HTTP requests during page-load. By the time you request the HQ-images, the rest of the page is already set, so “extra-requests” will slow the experience not one bit (unless they do something stupid with DOM-access, or the like — but that’s a universal truth)

    Eventually, the <picture> spec, in conjunction with the srcset= and media= attributes of the <source> element, will allow for a JS-free method of allowing browsers to intelligently handle media, based on their own internal queries and page-profiling (eg: is the user on an LTE connection, or are they on 2G out in the hills, somewhere at the moment).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When i first load the page the flash container div is set to display:none,
http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/gcc/Thread_002dLocal.html Documents __thread yet my g++ complains that __thread is not supported on my
http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html I am a just 2 days old in iphone programming. I downloaded the
http://developer.apple.com/library/mac/#documentation/Foundation/Reference/NSURLConnectionDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDelegate Just wondering why this protocol reference doesn't include information on methods like didReceiveData,
In Xcode build ref: https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW45 It says: ACTION Description: Identifier. Identifies the type of
When you go to http://www.apple.com/mac/ , you'll see the above products are faded into
I'm using Apple's EPFImporter tool http://www.apple.com/itunes/affiliates/resources/documentation/epfimporter.html It's a Python script that will take space
Having read Apple's numerous documentation on icon guidelines: http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW2 http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW1 http://developer.apple.com/library/ios/#qa/qa1686/_index.html I was wondering
I'm confused by this: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html#//apple_ref/doc/uid/20002174-178830-BAJEDEFB Supposing @interface Office : NSObject { NSMutableArray *employees; }
In the section titled 'Memory Warnings' here http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmNibObjects.html , I don't follow why the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.