Skip to content

Commit 65548b0

Browse files
authored
Merge pull request #5501 from vuestorefront/20210208-fix-vsf1-cache-docs
Update VSF1 SSR Cache docs
2 parents 277579f + 6d85fa7 commit 65548b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guide/basics/ssr-cache.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ We strongly recommend you DO NOT USE output cache in development mode. By using
6969
You can manually clear the Redis cache for specific tags by running the following command:
7070

7171
```bash
72-
yarn cache clear
73-
yarn cache clear -- --tag=product,category
74-
yarn cache clear -- --tag=P198
75-
yarn cache clear -- --tag=*
72+
yarn run cache clear
73+
yarn run cache clear -- --tag=product,category
74+
yarn run cache clear -- --tag=P198
75+
yarn run cache clear -- --tag=*
7676
```
7777

7878
**Note:** The commands presented above works exactly the same way in the `vue-storefront-api`.
@@ -129,4 +129,4 @@ is in charge of assigning the specific tag with current HTTP request output.
129129

130130
## Caching strategies on production
131131

132-
When it comes to caching on production, we made a set of caches at each layer of _Vue Storefront_ infrastructure. There is a section about [_Production setup_](/guide/installation/production-setup.html) in our guide. Additionally read [this article](https://medium.com/the-vue-storefront-journal/caching-on-production-10b00a5614f8) for more details.
132+
When it comes to caching on production, we made a set of caches at each layer of _Vue Storefront_ infrastructure. There is a section about [_Production setup_](/guide/installation/production-setup.html) in our guide. Additionally read [this article](https://medium.com/the-vue-storefront-journal/caching-on-production-10b00a5614f8) for more details.

0 commit comments

Comments
 (0)