Zend
  Home arrow Zend arrow Page 5 - Improving Performance
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ZEND

Improving Performance
By: Zend
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 7
    2004-01-08

    Table of Contents:
  • Improving Performance
  • Static and Dynamic Web content
  • Reverse Proxy cache
  • Code caching (Acceleration)
  • Client-side caching
  • Caching conditions

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Improving Performance - Client-side caching


    (Page 5 of 6 )


    Client-side caching is a feature that stores frequently used information on the client's machine. It provides performance enhancements on the client side by allowing the client to quickly access a file that would have normally be accessed from a server.. Client caching is especially effective when the client disconnects from the server, in that case files can still be accessed from the local cache. Client-side caching is usually defined in the client's browser settings.

    Dynamic content caching maximizes performance and scalability
    Dynamic content caching solutions address the scaling and performance issues of Web servers directly. They work well for heavily visited sites containing many dynamic features that must be tuned to respond quickly and easily. For a growing company anticipating reaching the Web server's maximum processing power, dynamic content caching solutions will expand the Web server’s capacity more effectively than adding additional hardware to manage the load. In certain cases, server-side dynamic caching may be 20 to 100 times faster than processing the page normally.

    Two factors to keep in mind when considering whether to cache dynamic pages include frequency of content changes and demand level for current content (hit count). Anticipated hit count determines the prioritization of pages to be cache. More popular pages take precedence over less frequently accessed pages. Some caching solutions provide analysis of script popularity on the site.

    Full page caching
    Full-page caching is the simplest and most straightforward dynamic caching mechanism. The user defines which page to cache and the server stores it in the cache disk space. In subsequent request for the page, instead of parsing the page, running the script and building the HTML page, the server will locate the existing cached page and send it to the client. The home page for a Web site is an excellent example of a popular page for full-page caching. Generally it is the first page that users see, the most frequently accessed and therefore has the greatest impact on the user experience. As mentioned, when using dynamic content caching the web server no longer creates pages for each request, but sends pre-built copies to the clients. Therefore, users do not see content changes once a page has been cached. Introducing the concept of 'lifetime' settings can solve this problem while still maintaining huge performance gains, even when set as low as two minutes. Lifetime settings permit the server to discard cached pages once their defined lifetime has expired, forcing the application server to reprocess the pages.

    More Zend Articles
    More By Zend


     

       

    ZEND ARTICLES

    - Taking the Zend Certified PHP Engineer Exam:...
    - Quick Introduction to PHP 5
    - PHP SOAP Extension
    - Improving Performance
    - PDFs with PHP part 2
    - PDFs with PHP part 1
    - PHP at Lycos
    - Build Database Interfaces





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway