typo fixes [skip ci]

This commit is contained in:
Qiang Xue
2014-06-28 09:40:43 -04:00
parent 504c5a148b
commit b4855f73b9
6 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@ Page Caching
Page caching refers to caching the content of a whole page on the server side. Later when the same page
is requested again, its content will be served from the cache instead of regenerating it from scratch.
Page caching is supported by [[yii\filters\PageCache]], an [action filter](runtime-filtering.md).
Page caching is supported by [[yii\filters\PageCache]], an [action filter](structure-filters.md).
It can be used like the following in a controller class:
```php
@ -33,7 +33,7 @@ and the cached page should be invalidated if the total number of posts is change
As you can see, page caching is very similar to [fragment caching](caching-fragment.md). They both support options such
as `duration`, `dependencies`, `variations`, and `enabled`. Their main difference is that page caching is
implemented as an [action filter](runtime-filtering.md) while fragment caching a [widget](structure-widgets.md).
implemented as an [action filter](structure-filters.md) while fragment caching a [widget](structure-widgets.md).
You can use [fragment caching](caching-fragment.md) as well as [dynamic content](caching-fragment.md#dynamic-content)
together with page caching.

View File

@ -47,7 +47,7 @@ public function actionView($id)
## Filters <a name="filters"></a>
Most RESTful API features provided by [[yii\rest\Controller]] are implemented in terms of [filters](runtime-filtering.md).
Most RESTful API features provided by [[yii\rest\Controller]] are implemented in terms of [filters](structure-filters.md).
In particular, the following filters will be executed in the order they are listed:
* [[yii\filters\ContentNegotiator|contentNegotiator]]: supports content negotiation, to be explained in