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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
22bf3848
Commit
22bf3848
authored
Sep 20, 2018
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note to docs about `Gitlab::SafeRequestStore`
parent
f107bc69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
doc/development/merge_request_performance_guidelines.md
doc/development/merge_request_performance_guidelines.md
+3
-2
No files found.
doc/development/merge_request_performance_guidelines.md
View file @
22bf3848
...
...
@@ -168,6 +168,7 @@ user objects for every username we can remove the need for running the same
query for every mention of
`@alice`
.
Caching data per transaction can be done using
[
RequestStore
](
https://github.com/steveklabnik/request_store
)
. Caching data in
Redis can be done using
[
Rails' caching
[
RequestStore
](
https://github.com/steveklabnik/request_store
)
(
use
`Gitlab::SafeRequestStore`
to avoid having to remember to check
`RequestStore.active?`
). Caching data in Redis can be done using
[
Rails' caching
system
](
http://guides.rubyonrails.org/caching_with_rails.html
)
.
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