Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
028bca7b
Commit
028bca7b
authored
Mar 15, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in doc/development/polling.md: `If-None-Modified` -> `If-None-Match`
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
253b61d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/polling.md
doc/development/polling.md
+3
-3
No files found.
doc/development/polling.md
View file @
028bca7b
...
...
@@ -27,13 +27,13 @@ Instead you should use polling mechanism with ETag caching in Redis.
1.
When a client makes a request we set the
`ETag`
response header to the value
from Redis.
1.
The client caches the response (client-side caching) and sends the ETag as
the
`If-None-M
odified
`
header with every subsequent request for the same
the
`If-None-M
atch
`
header with every subsequent request for the same
resource.
1.
If the
`If-None-M
odified
`
header matches the current value in Redis we know
1.
If the
`If-None-M
atch
`
header matches the current value in Redis we know
that the resource did not change so we can send 304 response immediately,
without querying the database at all. The client's browser will use the
cached response.
1.
If the
`If-None-M
odified
`
header does not match the current value in Redis
1.
If the
`If-None-M
atch
`
header does not match the current value in Redis
we have to generate a new response, because the resource changed.
For more information see:
...
...
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