Page 1 Hacking YSlow @stoyanstefanov http://phpied.com SF WebPerf Meetup Aug 2, 2012Page 2 Configuring Customizing ExtendingPage 3 Messing Fiddling HackingPage 4 Tool -> PlatformPage 5 ScoresPage 6 Strike of a genius? Lucky strike? Marketing plot?Page 7 How come I get an...Page 8 Page 9 Coding horror: "Yahoo's problems are not your problems"Page 10 Disagree with scores? Your own CDN? Expires not important?Page 11 Customize the scoresPage 12 Customize the rulesPage 13 New rulesPage 14 Remove the owner bottleneckPage 15 Lint all the things!Page 16 Contribute to the projectPage 17 Written in JS barrier for entry = !existentPage 18 Architecture 1. Peel 2. Lint 3. ShowPage 19 Architecture 1. Peel 2. Lint 3. ShowPage 20 Running your own hackable copy (bookmarklet)Page 21 1. Git 2. Build 3. Deploy 4. Install clientPage 22 1. Git (click) 2. Build (make) 3. Deploy (scp) 4. Install client (drag)Page 23 Hack: 1. customize 2. extendPage 24 Hack: 1. customize YSLOW.registerRuleset() 2. extendPage 25 Hack: 1. customize YSLOW.registerRuleset() 2. extend YSLOW.registerRule()Page 26 Spread: * send a patch * BYOPage 27 Thanks!