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
Léo-Paul Géneau
gitlab-ce
Commits
aa97ee54
Commit
aa97ee54
authored
Mar 30, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'update-eyeballs-docs' into 'master'
Update docs regarding visibility lib See merge request !10295
parents
a33b376d
8dd2da02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
doc/development/fe_guide/performance.md
doc/development/fe_guide/performance.md
+1
-2
No files found.
doc/development/fe_guide/performance.md
View file @
aa97ee54
...
@@ -17,8 +17,7 @@ polling rate.
...
@@ -17,8 +17,7 @@ polling rate.
A
`Poll-Interval: -1`
means you should disable polling, and this must be implemented.
A
`Poll-Interval: -1`
means you should disable polling, and this must be implemented.
1.
A response with HTTP status
`4XX`
or
`5XX`
should disable polling as well.
1.
A response with HTTP status
`4XX`
or
`5XX`
should disable polling as well.
1.
Use a common library for polling.
1.
Use a common library for polling.
1.
Poll on active tabs only. Use a common library to find out which tab currently has eyes on it.
1.
Poll on active tabs only. Please use
[
Visibility
](
https://github.com/ai/visibilityjs
)
.
Please use
[
Focus
](
https://gitlab.com/andrewn/focus
)
. Specifically
[
Eyeballs Detector
](
https://gitlab.com/andrewn/focus/blob/master/lib/eyeballs-detector.js
)
.
1.
Use regular polling intervals, do not use backoff polling, or jitter, as the interval will be
1.
Use regular polling intervals, do not use backoff polling, or jitter, as the interval will be
controlled by the server.
controlled by the server.
1.
The backend code will most likely be using etags. You do not and should not check for status
1.
The backend code will most likely be using etags. You do not and should not check for status
...
...
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