Home arrow PHP arrow Caching With PHP Cache_Lite

Caching With PHP Cache_Lite

As Web applications become more and more complex, cleverdevelopers can use application-level caching to improve the performanceof their PHP scripts. This article shows you how, discussing the PEARCache_Lite class with examples that illustrate how it can be used in alive environment.

  1. Caching With PHP Cache_Lite
  2. The Food Chain
  3. Return Of The Jedi
  4. Digging Deeper
  5. In And Out
  6. Bits And Bytes
  7. No News Is Good News
  8. Cache Cow
  9. Endgame
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 22
June 06, 2003

print this article



In the old days, a Web site usually consisted of static HTML pages and perhaps a few images to liven up the text. No more is this the case - sophisticated interfaces, streaming media, dynamically-generated content and other enhancements have all contributed to make today's Web more content-rich and interactive than ever before. Most often, this is a Good Thing - greater accessibility and more quality content only make the Web more attractive to new users, and increase its usefulness to the community at large.

However, there is a downside to this phenomenon as well. As sites become more content-rich, as their reliance on dynamic data sources increases, as their servers struggle to meet the thousands of requests coming in per minute, it's only natural that the first casualty be the performance of the system. This is clearly visible in the Web, which today more closely resembles a slow traffic jam than a fast-moving freeway.

Fortunately, there is a workaround, one that has been successfully used by many sites to provide a performance improvement: caching. And over the course of this article, I'm going to show you a few examples of this technique in action, using my favourite language, PHP, and an open-source implementation of a server-side cache called Cache_Lite. Flip the page, and let's get started!

>>> More PHP Articles          >>> More By icarus, (c) Melonfire

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: