Learn why it's crucial to optimize ASP.NET application performance and how to use various technics to reach 100 grade both in YSlow and Page Slow tools. Technics to be described: - tools: YSlow, Page Slow, Fiddler - javascript and css minification including related tools - image optimization and sprites including related tools - tuning IIS for performance - separating static content and using CDNs - ASP.NET server side profiling with MVC Profiler - client side profiling with Web Beacons and HTML5 Navigation Timing
Moved CSS to the separate file /css/style.cssMoved JavaScript to the separate file /js/functions.jsCombined CSS, references left at topCombined JavaScript, references moved to the bottomOptimized imagesCreated CSS sprite image, used inlined imagesAdded favicon.icoEnabled GzipAddedUseMaxAge headerAdded ETag header with the empty valueEnsure changes have been applied using Fiddler
Enable IIS logsRun Log Parser query #1 (popular requests)Run Log Parser query #2 (slowest requests)Uncomment Mini Profiler initializationGo to /feedback/index action and show resultsComment Thread.Sleep within /feedback/index actionOpen Chrome Developer Tools (CTRL + SHIFT + I)Enter window.performance.timing