-
Book Overview & Buying
-
Table Of Contents
Agile Web Application Development with Yii1.1 and PHP5
Caching data is a great method for helping to improve the performance of a production web application. If there is specific content that is not expected to change upon every request, using the cache to store and serve this content can save the time it takes to retrieve and process that data.
Yii provides for some nice features when it comes to caching. The tour of Yii's caching features will begin with configuring a cache application component. Such a component is one of several child classes extending CCache, the base class for cache classes with different cache storage implementations.
Yii provides many different specific cache component class implementations that store the data utilizing different approaches. The following is a list of the current cache implementations that Yii provides as of version 1.1.2:
CMemCache: Uses the PHP memcache extension.
CApcCache: Uses the PHP APC extension.
CXCache: Uses PHP XCache extension
CEAcceleratorCache:
Uses the PHP EAccelerator extension.
CDbCache...
Change the font size
Change margin width
Change background colour