(1) Reduce the request of HTTP. (Combined resource files and picture elves;
(2) Put the CSS head and put JavaScript to the end of the body label;
(3) Define the width and height of the picture;
(4) Define the character set;
(5) Avoid empty SRC and HREF attributes,
Write in html:
<A href = javascript:; class = triggerName> Trigger </a>
Definition in JS:
$ (#triggername) .Click (function (e) {e.preventdefault (); // Cancel the default action of the click event to prevent the link from the link //}))
(6) Enable GZIP compression;
(7) Abandon the CSS expression and use a more efficient CSS selector;
(8) Use the CSS and JavaScript of the external link;
(9) Code compression of CSS and JavaScript;
(10) Reduce re -painting;
The above is the method of increasing the page loading speed that I introduced to you by Xiaobian. I hope it will be helpful to everyone. If you have any questions, please leave me a message. Xiaobian will reply to everyone in time. Thank you very much for your support for the VEVB Wulin website!