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

Optimizing ASP.NET application performance: tough but necessary

6,962

Published 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 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

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,962
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
50
Comments
0
Likes
4
Embeds 0
No embeds

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
  • Optimizing ASP.NET application performance: tough but necessary

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×