-
Best Practices for Speeding Up Your Web Site
-
Minimize HTTP Requests
- Use a Content Delivery Network
-
Add an Expires or a Cache-Control Header
- Gzip Components
-
Put Stylesheets at the Top
- Put Scripts at the Bottom
-
Avoid CSS Expressions
- Make JavaScript and CSS External
-
Reduce DNS Lookups
- Minify JavaScript and CSS
-
Avoid Redirects
- Remove Duplicate Scripts
-
Configure ETags
- Make Ajax Cacheable
-
Flush the Buffer Early
- Use GET for AJAX Requests
-
Post-load Components
- Preload Components
-
Reduce the Number of DOM Elements
- Split Components Across Domains
-
Minimize the Number of iframes
- No 404s
-
Reduce Cookie Size
- Use Cookie-free Domains for Components
-
Minimize DOM Access
- Develop Smart Event Handlers
-
Choose <link> over @import
- Avoid Filters
-
Optimize Images
- Optimize CSS Sprites
-
Don't Scale Images in HTML
- Make favicon.ico Small and Cacheable
-
Keep Components under 25K
- Pack Components into a Multipart Document
See More:
-
相关阅读:
git
RT-Thread 4.0 + STM32F407 学习笔记1
C#串口通信及数据表格存储
NRF52832初步使用
ubuntu终端下快捷键之--字体放大缩小
微信公众号开发被动回复用户消息,回复内容Content使用了"
"换行符还是没有换行
python2018年秋季调研
python图像处理模块Pillow--Image模块
linux查看文件命令tail的使用
使用xadmin更新数据时,报错expected string or bytes-like object
-
原文地址:https://www.cnblogs.com/longware/p/13382246.html
Copyright © 2020-2023
润新知