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
2038839c
Commit
2038839c
authored
Aug 14, 2014
by
DaSourcerer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc update [skip ci]
parent
1950d904
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
caching-http.md
docs/guide/caching-http.md
+4
-2
No files found.
docs/guide/caching-http.md
View file @
2038839c
...
...
@@ -83,9 +83,11 @@ since they need to be re-evaluated on every request. Try to find a simple expres
the cache if the page content has been modified.
> Note: In complian
t to [RFC 2616, section 13.3.4](http://tools.ietf.org/html/rfc2616#section-13.3
.4),
> Note: In complian
ce to [RFC 7232, section 2.4](http://tools.ietf.org/html/rfc7232#section-2
.4),
`HttpCache`
will send out both
`ETag`
and
`Last-Modified`
headers if they are both configured.
Consequently, both will be used for cache validation if sent by the client.
However, in order to satisfy
[
section 3.3
](
http://tools.ietf.org/html/rfc7232#section-3.3
)
the
`If-None-Match`
client header will always take precedence over
`If-Modified-Since`
during validation; meaning
latter one is going to be ignored if a
`If-None-Match`
header is present in the request.
## `Cache-Control` Header <a name="cache-control"></a>
...
...
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