Web Application Optimization Techniques
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • 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
    Are you sure you want to
    Your message goes here
  • This is a wonderful Topic, But it would be much beneficial if it is explained little more.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
9,041
On Slideshare
8,975
From Embeds
66
Number of Embeds
6

Actions

Shares
Downloads
104
Comments
2
Likes
2

Embeds 66

http://php-best-10.blogspot.in 21
http://www.slideshare.net 15
http://php-best-10.blogspot.com 10
http://www.60minuteswiththegeeks.com 8
http://www.linkedin.com 8
https://www.linkedin.com 4

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