Optimize your site and let it load up a little faster

Source: Internet
Author: User
Tags format file size

Is your site often loaded slowly because of all the big pictures? How long does it take for a regular dial-up user to patiently wait for a website to load completely on his/her browser? 60 seconds? 30 seconds?

After counting 30 seconds is tolerable, in fact every user (especially 56K or slower modem users) are not so patient online waiting, if the site in 20 seconds or less time can not load they will point away from your site.

If your site uses a lot of heavy web images and Flash files (especially on the homepage), you are likely to be in an extremely unfavourable or even dangerous form! You're likely to be losing users who are slow to connect, and frankly, if that's the case, have users lost their buying mood?

Many people still get information through the simple modem browsing network. Unless your site specializes in image browsing, such as game viewing sites or these images are critical to your product, avoid using large images.

If you have to use large and large volumes of pictures, you can try to cut them into smaller pictures or convert them into an optimized format.

Two commonly used formats for displaying pictures on the network are listed below:

GIF (Graphics Interchange Format) is best for pictures less than 256 colors-usually for floor plans, such as company logos, navigation buttons, and so on.

JPEG (joint Image Expert group) for pictures with photographic elements is the best format-such as scenery, cars, people face pictures and so on.

If you optimize your picture accordingly, you can shorten the loading time to 50-70%. If your previous loading time is 30 seconds, you can shorten it to 15 seconds! Is it too good for your visitors?

Of course, there's a trade-off between quality and size when you're optimizing your web images. The smaller the size, the worse the quality, and vice versa. The key of network picture optimization is to get the best quality in the case of reasonable file size.

And what about the text? Does one of your pages use too much text and its load time cannot be completed in 20 seconds? What do you do when this happens? Divide them into small pages? Yes, what if you use a table?

Yes, you can try to design the site into a table! Put a large text into a different table (not a table within the table), so easy to manage and the Web page also loaded quickly!

Your site will be displayed gradually from the first table to the last table so that your visitors can wait for the full load of the site while viewing certain content.

This allows your Web page to be loaded and displayed progressively (starting with table 1, then table 2, table 3, and then table 4), so that users can have something to read without waiting for the page to be loaded all at once.

Note: Do not use nested tables (table-nested tables), because it will not have the same effect and will eventually reduce the load speed because the browser needs to complete loading the main tables before loading any tables in the table. Nested tables are very difficult to control.

This is the whole article, I hope you can be in the website load speed optimization to get fun!



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.