Web tips for improving speed of my website?

前端 未结 4 1767
情书的邮戳
情书的邮戳 2020-12-20 09:05

Provide some useful tips as

  • How can I improve the speed of my website?
  • What are the advantages & disadvantages of using sub domains?
4条回答
  •  醉梦人生
    2020-12-20 10:00

    The ultra basic tips to improve the speed would be .

    1.use semantic mark up

    2.use less images- try Raphael JS, HTML5 Canvas and other native drawing approaches

    3.minify your javaScript

    4.minify your css

    5.use gzip

    6.remove APIs that you dont use, include only whats needed.

    7.use localStorage and Cache Manifest where ever possible

    8.use css3 effects such as gradients,box-shadows,text-shadows ect.. instead of images and background-images

    9.have a clean and simple design

    10.hand code to keep your code simple and minimal.

    1. use script tags at the bottom

    one very important thing .. develop your site keeping users in mind not SEO or ad revenue. keep it simple.

提交回复
热议问题