Download - 3-in-1 YSlow
Transcript
3-in-1
YSlow
Stoyan Stefanov, @stoyanstefanov June 23, 2010Velocity
showslow.comgtmetrix.com
3. Platform
• Rules• Rulesets
YSLOW.registerRule({ id: "myrule", name: "Rule name", info: "This rule …", config: {},
lint: function (doc, cset, config) { return { score: 89, message: ”OMG!" }; }});
YSLOW.registerRuleset({ id: "myruleset", name: "My ruleset", rules: { my_rule: {}, my_other_rule: {}, ynumreq: {}, ycompress: {} }, weights: { }});
YSpy
3-in-1 YSlow
Lint, Monitor, Extend
Thank you!
Stoyan Stefanov@stoyanstefanovhttp://www.phpied.com