Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9b4b3b67
Commit
9b4b3b67
authored
May 20, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos. [skip ci]
parent
cb66c926
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
caching-data.md
docs/guide/caching-data.md
+1
-1
caching-http.md
docs/guide/caching-http.md
+2
-0
No files found.
docs/guide/caching-data.md
View file @
9b4b3b67
...
...
@@ -8,7 +8,7 @@ and [content caching](caching-content.md).
The following code is a typical usage pattern of data caching, where
`$cache`
refers to
a
[
cache component
](
#cache-components
)
:
```
```
php
// try retrieving $data from cache
$data
=
$cache
->
get
(
$key
);
...
...
docs/guide/caching-http.md
View file @
9b4b3b67
...
...
@@ -52,6 +52,7 @@ the page modification time. The signature of the PHP callable should be as follo
* @param Action $action the action object that is being handled currently
* @param array $params the value of the "params" property
* @return integer a UNIX timestamp representing the page modification time
*/
function
(
$action
,
$params
)
```
...
...
@@ -70,6 +71,7 @@ should be as follows,
* @param Action $action the action object that is being handled currently
* @param array $params the value of the "params" property
* @return string a string used as the seed for generating an ETag hash
*/
function
(
$action
,
$params
)
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment