April 17, 2013

How Google Quick View Works

I've mentioned in the previous post that Google launched a feature called Quick View that's designed to load search results faster on mobile devices. Right now, the feature only works for Wikipedia results and you'll only see it if you use google.com in English.



It's interesting to see how this feature works, especially when you consider Google's claim that pages load in less than 0.1 seconds. Like a magician, Google uses tricks to make people think that pages load faster than they really do.

All the Wikipedia results with a blue "Quick View" button have special sections in Google's source code that include the first part of the articles. When you tap the "Quick View" result, the article appears to load instantly, but you only see the first paragraphs, which are included in Google's code, just like snippets. Google loads in the background the rest of the article: it's a simplified version of the mobile Wikipedia article from the Google Cache. An example of page that includes the second part of a Wikipedia article: http://websearch-experiments.googleusercontent.com/B/08/d88ede51537960e3_926bb07ecb8a2bc1.htm.

Here's what happens if Google can't load the rest of the article: you get the error message "Error loading the entire article. Try again".


But is Quick View really fast? I've loaded the Wikipedia article about lettuce in the desktop Chrome and changed the user-agent to Galaxy Nexus/Android 4.0.2. Here are the load times obtained from Chrome's developer tools (I've only included the results for the main HTML file, the images are loaded from Wikipedia's site even when you use Quick View).

- Quick View: 120 ms


- Regular Wikipedia article: 522 ms


I've tested many other articles and Quick View pages consistently loaded in 100-130 milliseconds, while the original Wikipedia articles loaded about 4 times slower. It's a significant difference, especially if you use a slow mobile Internet connection with high latency.

Another improvement is that Google's search results pages already include the necessary CSS and JavaScript code for Wikipedia, while Wikipedia loads additional files: one CSS file and 7 JavaScript files.


Here's the total loading time for the page and its resources:

- QuickView: 30 requests, 143 KB transferred, 986ms total loading time

- Wikipedia: 36 requests, 296 KB transferred, 1.68 s total loading time

1 comment:

  1. شركة نقل أثاث بالرياض...شركة خبراء المملكة
    اسعار شركة تنظيف مكيفات بالرياضعندما يفكر أحدنا في الانتقال للعيش في منزل جديد، يشعرفجأة وكأنه يحمل أثاثه ومقتنياته فوق ظهره، من فرط التفكير في كيفية نقل الأثاث إلى المكان الجديد والأضرار المحتملة والخوف على المقتنيات النفيسة والقطع الحساسة والأغراض القابلة للكسر، وما تحتاج إليه من تعبئة وتغليف ونقل، لكنها مشكلة أصبحت محلولة بوجود شركات متخصصة في نقل الأثاث سواء إلى منزل جديد أو للتخزين لحين الانتهاء من صيانة المنزل أو السفر وما إلى ذلك
    اسعار شركة تركيب اثاث ايكيا بالرياض
    اسعار شركة تركيب ستائر بالرياض
    اسعار شركة تركيب غرف نوم بالرياض
    اسعار شركة تركيب باركية بالرياض

    ReplyDelete

Note: Only a member of this blog may post a comment.