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

Web Application Optimization Techniques






Total Views
Views on SlideShare
Embed Views



6 Embeds 65

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 3



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • 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
Post Comment
Edit your comment

Web Application Optimization Techniques Web Application Optimization Techniques Presentation Transcript

  • Web Application Optimization Techniques
  • 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
  • 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.
  • Why Optimize?
    • Faster loading times for pages
    • Lesser amount of data to transfer
    • Less load on the server
  • 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
  • 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.
  • Performance Analyzers
    • Yslow - http://developer.yahoo.com/yslow/
  • Performance Analyzers
    • Firebug - http://www.getfirebug.com/
  • 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
  • Examples The first great gift we can bestow on others is a good example - Morell, Thomas
  • Conclusion & Questions
  • Links Pool
    • http://developer.yahoo.com/yslow/
    • http://www.getfirebug.com/
    • http://www.mnot.net/cache_docs/
    • http://developer.yahoo.com/performance/rules.html