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
8dd2da02
Commit
8dd2da02
authored
Mar 28, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs regarding visibility lib
parent
520f7cd0
Changes
1
Show 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 @
8dd2da02
...
@@ -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