- 注册时间
- 2015-10-24
- 最后登录
- 2016-1-26
- 在线时间
- 39 小时
- 阅读权限
- 70
- 积分
- 5053
- 帖子
- 38
- 主题
- 5
- 精华
- 0
- UID
- 45852
 
- 注册时间
- 2015-10-24
- 最后登录
- 2016-1-26
- 在线时间
- 39 小时
- 阅读权限
- 70
- 积分
- 5053
- 帖子
- 38
- 主题
- 5
- 精华
- 0
- UID
- 45852
|
发表于 2015-10-25 15:06:19
|显示全部楼层
看下本站
^Cwebjs@webjs-upc:~/codepalce/nodejslearn/app$ node yslow.js
===
200
getYSlowURL
http://bbs.linuxtone.org/forum.php
Running (Async)....
=> overall: 74
=> load time: 3777
===
{ w: 920119,
o: 74,
u: 'http%3A%2F%2Fbbs.linuxtone.org%2F',
r: 100,
i: 'ydefault',
lt: 3777,
g:
{ ynumreq:
{ score: 20,
message: 'This page has 12 external Javascript scripts. Try combining them into one.\nThis page has 4 external stylesheets. Try combining them into one.\nThis page has 18 external background images. Try combining them with CSS sprites.',
components: [] },
ycdn:
{ score: 0,
message: 'There are 98 static components that are not on CDN. <p>You can specify CDN hostnames in your preferences. See <a href="https://github.com/marcelduran/yslow/wiki/FAQ#wiki-faq_cdn">YSlow FAQ</a> for details.</p>',
components: [Object] },
yemptysrc: { score: 100, message: '', components: [] },
yexpires:
{ score: 0,
message: 'There are 13 static components without a far-future expiration date.',
components: [Object] },
ycompress:
{ score: 56,
message: 'There are 4 plain text components that should be sent compressed',
components: [Object] },
ycsstop: { score: 100, message: '', components: [] },
yjsbottom: { score: 100, message: '', components: [] },
yexpressions:
{ score: 58,
message: 'There is a total of 16 expressions',
components: [Object] },
yexternal:
{ message: 'Only consider this if your property is a common user home page.',
components: [Object] },
ydns:
{ score: 70,
message: 'The components are split over more than 4 domains',
components: [Object] },
yminify:
{ score: 90,
message: 'There is 1 component that can be minified',
components: [Object] },
yredirects: { score: 100, message: '', components: [] },
ydupes: { score: 100, message: '', components: [] },
yetags: { score: 100, message: '', components: [] },
yxhr: { score: 100, message: '', components: [] },
yxhrmethod: { score: 100, message: '', components: [] },
ymindom:
{ score: 69,
message: 'There are 1450 DOM elements on the page',
components: [] },
yno404: { score: 100, message: '', components: [] },
ymincookie: { score: 100, message: '', components: [] },
ycookiefree:
{ score: 90,
message: 'There are 2 components that are not cookie-free',
components: [Object] },
ynofilter: { score: 100, message: '', components: [] },
yimgnoscale: { score: 100, message: '', components: [] },
yfavicon:
{ score: 95,
message: 'Favicon is not cacheable',
components: [] } } }
社区 - LinuxTone | 运维专家网论坛 - 最棒的Linux运维与开源架构技术交流社区! - Powered by Discuz!
|
|