Optimizing ASP.NET application performance: tough but necessary

  • 6,573 views
Uploaded on

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 …

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
6,573
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
33
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • 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

Transcript

  • 1. Optimizing ASP.NET applicationperformance: tough butnecessarySergejus Barinovas@sergejusb | sergejus.barinovas@gmail.com
  • 2. Why web performance isimportant?
  • 3. Source: Performance Related Changes and their User Impact by Eric Schurman and Jake
  • 4. Performance is a feature and itcosts
  • 5. Mobile feedback appAgile Tour Vilnius 2011
  • 6. Client side optimizationTough, but here are several hints for you…
  • 7. Firebug
  • 8. Yahoo! best practices for speeding up web siteGoogle web performance best practices YSlow Page Speed
  • 9. Fiddler
  • 10. Lets optimize mobile feedbackapp!Demo: client side optimization
  • 11. SquishItImage OptimizerSprite and Image Optimization
  • 12. YUICompressor Smush.itAjaxMin PunyPNGClosure compiler YUICompressorYUICompressor AjaxMinAjaxMin CSSTidyPacker MinifyJSMin CSSCompressor
  • 13. Server side optimizationEven tougher and in most cases “it depends”…
  • 14. Microsoft Log Parser Mini ProfilerHTML5 Navigation Timing
  • 15. DemoLearning page usage and load times
  • 16. Apache Bench
  • 17. Now go and optimize youASP.NET applicationperformance!
  • 18. Thank you! Questions?@sergejusb | sergejus.barinovas@gmail.com