Tips for improving the speed of web page opening
Internet bandwidth is more and more wide, it seems that the load speed of web pages has been a qualitative leap. In fact, otherwise, because with the increase of bandwidth, more and more objects are on the page, so it is still an important topic to accelerate the speed of web page opening. Speed up the web page opening, there are three ways, one is to improve network bandwidth, two is the user in this machine to do optimization, three is the web designer to web pages do certain optimization. This article, at a web designer’s point of view, shares some tips for optimizing Web page loading speed.
one, optimize pictures
there is hardly any page without pictures. If you’ve been through the age of 56K cats, you won’t really like websites with lots of pictures. Because it takes a lot of time to load a web page like that.
even now, the network bandwidth has improved a lot, 56K cat gradually fade out, optimize the picture to speed up the web page is still necessary.
optimized images include reducing the number of pictures, reducing the quality of images, and using the appropriate format.
1, reduce the number of pictures: remove unnecessary pictures.
2, reduce image quality: if it is not necessary, try to reduce the quality of the image, especially the JPG format, reducing the quality of 5% does not seem to change greatly, but the size of the file changes is relatively large.
3, using the appropriate format: see the next point.
two, image format selection,
generally uses three formats of pictures on the web, JPG, PNG, and gif. The specific technical specifications of the three formats are not the content of this article. We only need to know when we should use what format to reduce the loading time of the page.
, 1, JPG: photographic works commonly used to show landscapes, characters, and art. Sometimes used on computer screen shots.
2: GIF: provide less color, can be used in some places where the color is not high, such as website, logo, button, expression and so on. Of course, an important application of GIF is animated pictures. Like an image made of Lunapic.
3 and PNG:PNG formats provide transparent backgrounds, a form of graphics designed specifically for web pages. Generally used for background transparent display or higher quality image of the web page.
three, optimize CSS
CSS cascading style sheet allows web pages to load more efficiently and the browsing experience improved too