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
7bd463ae
Commit
7bd463ae
authored
Nov 27, 2020
by
Marcel Amirault
Committed by
Marcin Sedlak-Jakubowski
Nov 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about caching to ci efficiency doc
parent
72c8b986
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
doc/ci/pipelines/pipeline_efficiency.md
doc/ci/pipelines/pipeline_efficiency.md
+6
-2
No files found.
doc/ci/pipelines/pipeline_efficiency.md
View file @
7bd463ae
...
...
@@ -189,8 +189,12 @@ be more efficient, but can also make pipelines harder to understand and analyze.
### Caching
Another optimization method is to use
[
caching
](
../caching/index.md
)
between jobs and stages,
for example
[
`/node_modules` for NodeJS
](
../caching/index.md#caching-nodejs-dependencies
)
.
Another optimization method is to
[
cache
](
../caching/index.md
)
dependencies. If your
dependencies change rarely, like
[
NodeJS `/node_modules`
](
../caching/index.md#caching-nodejs-dependencies
)
,
caching can make pipeline execution much faster.
You can use
[
`cache:when`
](
../yaml/README.md#cachewhen
)
to cache downloaded dependencies
even when a job fails.
### Docker Images
...
...
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