Tag: yslow

“把脚本放在底部”是否正确?

在改善网站性能的最佳实践http://developer.yahoo.com/performance/rules.html中 ,Steve Souders提到了一条规则:“将脚本移到底部”。 这有点混乱。 其实,我注意到很多网页没有把脚本放在底部,而YSlow仍然把A标记为这些网页。 那么,我应该什么时候遵循“把脚本放在底部”的规则呢?

添加过期标题

Add Expires headers There are 21 static components without a far-future expiration date. http://static.doers.lk/examples-offline.css http://static.doers.lk/kendo.common.min.css http://static.doers.lk/kendo.default.min.css http://static.doers.lk/style.css http://static.doers.lk/jquery.min.js http://static.doers.lk/kendo.web.min.js http://static.doers.lk/console.js http://static.doers.lk/sprite.png https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… https://fbexternal-a.akamaihd.net/safe_image.php?… http://static.doers.lk/favicon.PNG 当我testing网站使用雅虎YSLOW它说上述massage.So我不知道如何添加过期headers.any帮助将不胜感激?