diff --git a/docs/guide/topics-cache.md b/docs/guide/topics-cache.md index d2e2e1a1c..418ec5278 100644 --- a/docs/guide/topics-cache.md +++ b/docs/guide/topics-cache.md @@ -1,7 +1,7 @@ Using the Cache component ========================= -To use the `Cache` component, in addition to configuring the connection as described above, +To use the `Cache` component, in addition to configuring the connection as described in the [Installation](installation.md) section, you also have to configure the `cache` component to be `yii\redis\Cache`: ```php @@ -16,7 +16,7 @@ return [ ]; ``` -If you only use the redis cache, you can also configure the parameters of the connection within the +If you only use the redis cache (i.e., not usig its ActiveRecord or Session), you can also configure the parameters of the connection within the cache component (no connection application component needs to be configured in this case): ```php diff --git a/docs/guide/topics-session.md b/docs/guide/topics-session.md index eb729a3a1..4c091a3b1 100644 --- a/docs/guide/topics-session.md +++ b/docs/guide/topics-session.md @@ -1,7 +1,7 @@ Using the Session component =========================== -To use the `Session` component, in addition to configuring the connection as described above, +To use the `Session` component, in addition to configuring the connection as described in the [Installation](installation.md) section, you also have to configure the `session` component to be `yii\redis\Session`: ```php @@ -16,8 +16,8 @@ return [ ]; ``` -If you only use the redis session, you can also configure the parameters of the connection within the -cache component (no connection application component needs to be configured in this case): +If you only use redis session (i.e., not using its ActiveRecord or Cache), you can also configure the parameters of the connection within the +session component (no connection application component needs to be configured in this case): ```php return [