From a65fe7fef61ef75b6c2eda3b9350e80db2530e92 Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 29 Mar 2016 22:36:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/yslow.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/yslow.md b/share/yslow.md index 549277e..b2cb8ad 100644 --- a/share/yslow.md +++ b/share/yslow.md @@ -1,7 +1,7 @@ # 23条 Web 性能最佳实践和规则 以下规则是来自 YSlow 团队对 Web 性能总结出来的规则。随着 Web 前端技术的发展以及新技术的不断涌现,我们可以想想是不是还有其它的优化点或者这23条又一些以及不满足现状。 -1. 尽可能减少HTTP请求次数 -2. 使用CDN +1 . 尽可能减少HTTP请求次数 +2 . 使用CDN 3. 避免空src和href标签 4. 加入Expires或Cache-Control Header 5. 使用Gzip压缩