8000 Add missing raw tags · adicoderanger/circleci-docs@d268423 · GitHub
[go: up one dir, main page]

Skip to content

Commit d268423

Browse files
committed
Add missing raw tags
1 parent a25b70f commit d268423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jekyll/_cci2/caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ Because the second key is less specific than the first, it is more likely that t
134134

135135
Let's walk through how the above cache keys are used in more detail:
136136

137-
Each line in the `keys:` list all manage _one cache_ (each line does **not** correspond to it's own cache). The list of keys (`v1-npm-deps-{{ checksum "package-lock.json" }}` and `v1-npm-deps-`), in this example, represent a **single** cache. When it comes time to restore the cache, CircleCI first validates the cache based on the first (and most specific) key, and then steps through the other keys looking for any other cache-key changes.
137+
Each line in the `keys:` list all manage _one cache_ (each line does **not** correspond to it's own cache). The list of keys {% raw %}(`v1-npm-deps-{{ checksum "package-lock.json" }}`{% endraw %} and `v1-npm-deps-`), in this example, represent a **single** cache. When it comes time to restore the cache, CircleCI first validates the cache based on the first (and most specific) key, and then steps through the other keys looking for any other cache-key changes.
138138

139-
Here, the first key concatenates the checksum of `package-lock.json` file into the string `v1-npm-deps-`; if this file was to change in your commit, CircleCI would see a new cache-key.
139+
https://github.com/circleci/circleci-docs/issues/3650aere, the first key concatenates the checksum of `package-lock.json` file into the string `v1-npm-deps-`; if this file was to change in your commit, CircleCI would see a new cache-key.
140140

141141
The next key does not have a dynamic component to it, it simply is a static string: `v1-npm-deps-`. If you would like to invalidate your cache manually, you can bump `v1` to `v2` in your `config.yml` file. In this case, you would now have a new cache key `v2-npm-deps`, which will trigger the storing of a new cache.
142142

0 commit comments

Comments
 (0)
0