You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.1/cloud/env/variables-post-deploy.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,23 +44,29 @@ Customize the list of pages used to preload the cache in the `post_deploy` stage
44
44
- **multiple pages**—Use the following format to cache multiple pages according to a specific regular expression pattern:
45
45
46
46
```terminal
47
-
<entity_type>:<store_id>:<pattern>
47
+
<entity_type>:<pattern|url>:<store_id|store_code>
48
48
```
49
49
50
50
- `entity_type`: Choose `category` or `cms-page`
51
-
- `store_id`: Use the ID of the store or an asterisk (\*) for all stores
52
-
- `pattern`: Use a `regexp` pattern to filter the URLs or an asterisk (\*) for all pages
51
+
- `pattern|url`: Use a `regexp` pattern or an exact match `url` to filter the URLs, or use an asterisk (\*) for all pages
52
+
- `store_id|store_code`: Use the ID or Code of the store or an asterisk (\*) for all stores
53
53
54
-
The following example caches all category pages for store 1, any category pages that begin with `car_` and do not end with `html` for store 2, any category pages that begin with `tires_` for store 3, and all `cms` pages:
54
+
The following example caches:
55
+
- all category pages for store with ID 1
56
+
- category page `cars` for store with code `store_en`
57
+
- cms page `contact` for all stores
58
+
- any category page that contains `car_` and ends with `html` for store with ID 2
59
+
- any category page that contains `tires_` for store with code `store_gb`
0 commit comments