Upgrade and revision of Weibo

Source: Internet
Author: User
Tags prefetch

Upgrade and revision of Weibo

Today, Weibo has been upgraded, so it's a habit to look at the code and try it out.

New Weibo version

1. First, we can see several items at first glance:

...

<Link rel = "dns-prefetch" href = "// rs.sinajs.cn/">
<Link rel = "dns-prefetch" href = "// tp1.sinaimg.cn/">
<Link rel = "dns-prefetch" href = "// tp2.sinaimg.cn/">
<Link rel = "dns-prefetch" href = "// tp3.sinaimg.cn/">
<Link rel = "dns-prefetch" href = "// tp4.sinaimg.cn/">

...

(It seems that Baidu is also using this ...)

According to the name, we probably knew it was DNS pre-capturing, So Baidu and google added knowledge about dns-prefetch, then I learned a lot about pre-capturing and loading, but I didn't know much about it.

DNS resolution may cause a significant delay. Because DNS resolution takes different time. The latency ranges from 1 ms (local cache results) to several seconds. DNS prefetching is designed to solve this problem. I understand that the page will be parsed in advance (in parallel during browsing) and You may click the connection address, this allows you to read and reduce the response time from the cache when you click.

I can see the pre-Fetch address on Weibo (mostly static resources on cdn). I guess part of this is to reduce the response time of users' browser images.

In addition to dns-prefetch, you can also pre-load the prefetch on pages and elements and pre-render the prerender.

Refer to the following websites: http://www.chromium.org/developers/design-documents/dns-prefetching

Http://www.csdn.net/article/2013-05-27/2815444-5-html5-features-you-must-know

Http://stackoverflow.com/questions/7724935/dns-prefetch-pre-resolve-hostname-how-effective

 

 

2.html code is reduced again... Almost no more... Is it true that my age is coming soon...

3. The response... My personal information is reduced to an icon when the page width is reduced, but the transition effect between them is really too rough. I am a little obsessive, but it is not refreshing... Ie8 is not supported. negative comment!

 

Just a superficial look ~~

Light spray

 

Blog http://www.tony77.com/archives/537.html from Chen da


Sina Weibo is more like a social networking website after its revision

Yes. On June 14, September 3, Sina Weibo quietly removed the Beta on the Logo on Wednesday, attracting attention. Today, sina Weibo, whose profile was changed to normal, officially started the test of the new version. The upgrade experience on Sina Weibo is quite special. You need to get an invitation code from an upgraded friend, after watching the upgrade animation, pass the upgrade qualification to the next friend to complete the upgrade.
In the past, Weibo only published messages in two forms: Public and Private. Messages cannot be published for individuals or user groups. In the new version, Sina Weibo introduced the concept of "targeted publishing". Users can set the scope of Weibo to be able to read when publishing Weibo, so as to achieve relatively private small-range communication. In addition, according to the settings of the new version of Sina Weibo, the content of targeted Weibo can only be commented but cannot be forwarded. This is a user-friendly setting that limits the dissemination of targeted content to a certain extent.
 
How can I upgrade the new version of Sina Weibo? Better details,

Click the invitation code link. You can add 2537242320 and ask him to give you an invitation code.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.