scaling

Techniques for improving the performance of dynamic web applications.
Syndicate content

Caching

Here are some incomplete and probably incorrect notes about PHP caching options.

Page-level caching works well for page views that don’t change very often. For example, a front page which rotates the featured articles every hour could be page-cached, then invalidated each hour.

Region-level caching can be used to pull some parts of an otherwise dynamic page from a cache.

Object-level caching can store structured PHP data objects, so that they don’t have to be built with each run.

These levels of cache are ordered by increasing “ickiness”.

PHP-Level