Website can also double core, do you believe it?

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Everyone is now called dual-core, CPU dual-core, browser also dual-core, I also played a name called the site dual-core. The dual-core web site means that the site prepares two templates for Internet Explorer and Firefox, and calls different templates depending on the client browser.

Now the site to solve the Internet Explorer and Firefox browser compatibility problem, there are many ways, generally speaking, as long as a set of templates, a CSS file, a JS script can be resolved. So why double core, what is the advantage of double core?

In my recent poll, for example, I would only do the page under IE, so I asked a friend to help me change the CSS file to make it compatible with the Firefox browser. The results were found to be compatible with Firefox to change my template under IE, and after the change was found, although compatible with the Fifefox browser, but the performance in IE below is not as good as before. Although both can be seen, but do not achieve the best performance effect. In order to solve this problem, I think of a way, is to do two sets of templates, two sets of CSS files, two sets of JS script set in IE below the call, a set of Firefox under the call, so that the compatibility of the two browsers are perfect! This is why the dual-core selection is why.

Dual-core benefits are also obvious, according to IE browser and Firefox browser characteristics to make different effects, from the effect, can achieve a perfect state. Of course, the disadvantage is that the development cycle will be relatively long, maintenance costs are relatively high. But for the pursuit of the perfect site for double core is a good choice, today your site dual-core? You can use IE browser and Firefox browser, open my website: http:// Www.toupiao5.com, and then the right mouse button to view the source code, you can find two site templates have subtle differences, links are different, and call the CSS and JS is also different, is a true dual-core site! It is recommended that you have the ability to have conditions to do double core, otherwise it may cost you a certain amount of time Oh!

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.