Website Optimization ---- enhance site access speed

 In the current Internet environment, how fast a site access speed determines how much user traffic, the following is said on the website to enhance the access speed can start from what:

  First, the development of relevant tools

   1. Site access speed  

    1. Optimize images to reduce the image size compression to speed up the larger the longer the download time ------ picture is displayed in front of the user, the longer black and white

    2. improve the bandwidth (server related)

    3. Reduce the number of file requests (appropriate merge file)

    4. Compression html / css / js file while reducing code duplication ----------- This simple request sooner the smaller the file

    5. ----------- rational use of cache files do not change often for the rational use of the data cache can speed up file return

    6. ----------- asynchronous request is not the first time the user needs to show the data out of the asynchronous request can show speed up page  

    7. preloaded ------------ first determine which pages the user enters in advance, using the pre-loaded pre-loaded with resources

 

   2. The method of determining how to use the site speed by which methods

    1. background background log by log analysis ------------

    2. Buried Buried ------------ through to check the user clicks the click-through rate in the event of certain expectations, but also to facilitate the monitoring error exception

    3. Statistical analysis Statistical ------------ third party

 

  Two , optimized deployment

     1.cdn ------- resources can be put in a request corresponding to the position nearest cdn server, the server returns the requested closer faster while saving room bandwidth (purchased separately)

     2.p2p ------- peer technology, also known as peering network technology, the server can share the pressure, when you download upload will also be provided to others upload (used for content distribution)

     3. static cache after the first request generator ------- thrown content cache to improve access speed Over Time

     4. heterogeneous computing cluster ------- do with cheap computer, use special CPU

Guess you like

Origin www.cnblogs.com/jjq-exchange/p/11457063.html