Web Front-end optimization best practices-mobile (iPhone)

Source: Internet
Author: User
By fenng|It can be reproduced. During reprinting, it must be indicated by a hyperlink.ArticleSource and author information and copyright notice
Web: http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_server_mobile.html

The last part of the best web browser optimization practices is for mobile apps, but only for the iPhone. Currently, there are only two rules.

1. A single data object smaller than 25 K (keep components under 25 K)

This seems to be only for iPhone research. We recommend that you keep a single web data object below 25 kb. Why 25 k? Apple official information indicates that the web objects that can be cached in memory can support a maximum of 10 MB, but after testing, it was found that it is about 25 kb.

The iPhone's outstanding performance in the market has forced web workers to consider how to optimize it. I believe this part is constantly changing.

2. Pack components into a multipart document

Package web page components into a multi-part document. The purpose is to reduce "> HTTP requests. This part is not detailed. Please wait for updates.

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.