Web front-end development Essentials Compression tool Grooming

Source: Internet
Author: User
Tags dreamweaver

There are two factors affecting the opening time of the website, one is the speed of the page loading, the other is the size of the site page. Web site loading speed and the user's network environment and host performance, and the size of the site page is determined by the web Developer, the most important thing is the work of Web front-end development engineers. The focus of this article is how to compress Web pages to reduce page load times.

1. Image compression

The picture is quite space-consuming relative to the text. Compressing pictures is a priority.

Picture Compression Tool Recommended:

  • Shrink-o-matic
  • Smush It
  • Magic Hand of Light and shadow

2. Javascipt compression

In order to increase the interactivity and animation of the page, many pages use Javascript, especially jquery.

Recommended Tools:

  • Javascript Compressor
  • JS Compressor

3. CSS compression

Because the CSS code has a lot of abbreviations, so using compression tool compression, can greatly reduce the size of the CSS file.

Recommended Tools:

  • CSS Optimiser
  • CSS Compressor
  • Clean CSS
4.HTML compression

It is recommended that you use the Dreamweaver Cleanup tool. With Dreamweaver's clean-up HTML command, you can remove empty tags from your document, dissolve nested font tags, and more, to make your code more readable and understandable.

Web front-end development Essentials Compression tool Grooming

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.