Your SlideShare is downloading. ×
Web Application Optimization Techniques
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Web Application Optimization Techniques

7,873
views

Published on

Published in: Technology

2 Comments
2 Likes
Statistics
Notes
  • Thanks for the comment Benoy. These slides were an aid to my actual talk on the subject so it lacks the detail that accompanied this presentation. However, I suggest you do more research on the subject online. There are really good tips on the Yahoo Developer Network - http://developer.yahoo.com/performance/rules.html
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • This is a wonderful Topic, But it would be much beneficial if it is explained little more.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
7,873
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
114
Comments
2
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

Transcript

  • 1. Web Application Optimization Techniques
  • 2. Lecture Outline
    • What is Web Application Optimization?
    • Why Optimize?
    • Optimization Techniques
      • Application Layer Optimization Techniques
      • Presentation Layer Optimization Techniques
    • Caching – How your browser does it
    • Performance Analyzers
      • Yslow
      • Firebug
    • Web Server Tuning
      • Expires
      • Last-Modified-Since
    • Examples
  • 3. What is Web Application Optimization?
    • Web Application Optimization is all about tuning your web application components to make your web application fast or appear fast.
  • 4. Why Optimize?
    • Faster loading times for pages
    • Lesser amount of data to transfer
    • Less load on the server
  • 5. Optimization Techniques
    • Application Layer
      • Database Optimization
        • Indexing
        • Query optimization
        • Table partitioning
        • De-normalization
        • Query caching
      • Application Server
        • Code Caching
        • Code Refactoring
    • Presentation Layer
      • Cache Control
      • Web Content Minify-ing
  • 6. Caching – How your browser does it
    • It's all in the headers
    • Every time your browser gets a resource, it attempts to determine whether or not to cache the resource and for how long to do so.
    • Validation on cached resources are carried out from time to time.
  • 7. Performance Analyzers
    • Yslow - http://developer.yahoo.com/yslow/
  • 8. Performance Analyzers
    • Firebug - http://www.getfirebug.com/
  • 9. Web Server Tuning
    • Expires
      • ExpiresActive On
      • ExpiresByType text/html "access plus 1 day"
      • ExpiresByType image/gif "access plus 5 months"
      • ExpiresByType image/jpeg "access plus 5 months"
      • ExpiresByType text/css "access plus 1 week"
      • ExpiresByType application/x-javascript "access plus 1 week"
      • ExpiresByType image/x-icon "access plus 5 months"
    • Last-Modified-Since
      • Normally inserted by the web server by default
    • Deflate/Gzip
      • AddOutputFilterByType DEFLATE text/html text/plain
      • AddOutputFilter DEFLATE js css
  • 10. Examples The first great gift we can bestow on others is a good example - Morell, Thomas
  • 11. Conclusion & Questions
  • 12. Links Pool
    • http://developer.yahoo.com/yslow/
    • http://www.getfirebug.com/
    • http://www.mnot.net/cache_docs/
    • http://developer.yahoo.com/performance/rules.html