Develop internet product optimization requirements, develop Internet products
Minimum number of requests:
- Asynchronous or delayed loading of TAB pages;
- Merge JS/CSS files;
- CSS Sprites CSS image map;
- Unified Public JS/CSS files;
- Merge Ajax requests;
- Avoid redirection;
- Reduce iframe requests;
- Delayed loading of avatar and image scrolling;
- Asynchronous loading of unimportant page modules;
- Multi-level Cache.
Fastest request speed:
- Set long cache;
- Use cache as much as possible;
- Cookie isolation;
- Dynamic and Static application separation;
- Select an appropriate Web server by type;
- Add parallel downloads using multiple domain names as appropriate;
- Set Gzip compression;
- Multi-IDC deployment and dynamic internal proxy;
- Use CDN networks;
- Improve the IP address library locating capability;
- Image Quality compression, using PNG8;
- Image pre-loading;
- Javascript/CSS obfuscation;
- Compress the Page code;
- Unified common JS library code and application code;
- Reduce the Cookie size;
- Protocol merging and parallel processing at the logic layer;
- Data, index memory, and SSD parallel writing.
Fastest visible available:
- First screen optimization principles;
- Reduce the number and Size of elements;
- HTML, CSS, and JS Code to lose weight;
- JS performance optimization DIV + CSS layout;
- Optimized to avoid using CSS expressions;
- CSS Sprites: CSS and JS with split screens;
- Parallel JS download at the bottom of the page;
- Avoid complicated JS cyclic computing;
- Uniform JS is placed at the end of the page;
- On-Demand Loading, asynchronous loading, delayed loading, and pre-loading;
- Output HTML code in the background as soon as possible.
In the Internet age, success or failure is measured within one second or even several milliseconds. The speed of opening your first screen is several milliseconds slower than that of others, so others will have more users than you, so good products must be faster.
JS is the killer of Web Page performance. A new handwritten JS Code or messy JS Code will drag down your website experience as a whole;
Configure Gzip compression to compress to 80%, which can greatly reduce the pressure on the server;
Delayed loading and pre-loading. In short, it is necessary to load on demand.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.