From 78fa416390701a7ef9068cfca961947512809a60 Mon Sep 17 00:00:00 2001 From: Larry Ullman Date: Sun, 8 Dec 2013 11:29:50 -0500 Subject: [PATCH] Edited introduction. --- docs/guide/caching.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/guide/caching.md b/docs/guide/caching.md index 1c379c5..e36ae00 100644 --- a/docs/guide/caching.md +++ b/docs/guide/caching.md @@ -1,13 +1,14 @@ Caching ======= -Overview and Base Concepts --------------------------- - Caching is a cheap and effective way to improve the performance of a web application. By storing relatively -static data in cache and serving it from cache when requested, we save the time needed to generate the data. +static data in cache and serving it from cache when requested, the application saves the time required to generate the data from scratch. Caching is one of the best ways to improve the performance of your application, almost mandatory on any large-scale site. + + +Base Concepts +-------------------------- -Using cache in Yii mainly involves configuring and accessing a cache application component. The following +Using cache in Yii involves configuring and accessing a cache application component. The following application configuration specifies a cache component that uses [memcached](http://memcached.org/) with two cache servers. Note, this configuration should be done in file located at `@app/config/web.php` alias in case you're using basic sample application.