Home >Web Front-end >HTML Tutorial >Introduction to methods of using HTML optimization to speed up web pages

Introduction to methods of using HTML optimization to speed up web pages

高洛峰
高洛峰Original
2017-03-21 17:19:181291browse

The key to reducing web page download time is to try to reduce the file size. When multiple pages share some component content, you can consider separating these common parts separately. For example: we can write scripts that are used by multiple HTML pages to exist independently. js file, and then call it in the page as follows:

The following is the quoted fragment: