Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit b405e97

Browse files
authored
Merge pull request commerce-docs/devdocs#283 from magento-devdocs/imported-smaeda-ks-devdocs-9314
[Imported] Remove outdated custom snippets instructions
2 parents a881c5c + c365aa2 commit b405e97

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/_includes/cloud/cloud-fastly-manage-vcl-from-admin.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@
1515
1. After the upload completes, refresh the cache according to the notification at the top of the page.
1616

1717
{:.bs-callout-warning}
18-
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must use the Fastly API to [manage custom snippets added through the API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
18+
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must [manage custom VCL snippets using the Fastly API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
1919

2020
## Delete the custom VCL snippet
2121

22-
You can delete custom VCL snippet code from your Fastly configuration by uploading an empty version of the snippet from the Admin UI, or delete it completely using the Fastly API.
22+
1. [Log in]({{ site.baseurl }}/cloud/onboarding/onboarding-tasks.html#admin) to the Admin UI.
23+
24+
1. Click **Stores** > **Settings** > **Configuration** > **Advanced** > **System**.
25+
26+
1. Expand **Full Page Cache** > **Fastly Configuration** > **Custom VCL Snippets**.
27+
28+
![Manage custom VCL snippets]
2329

24-
- Upload an empty version of the snippet file to Fastly to remove the VCL logic from the active VCL version:
30+
1. In the _Action_ column, click the trash icon next to the snippet to delete.
2531

26-
- Edit the snippet and delete the **VCL** snippet content.
27-
- Save the configuration.
28-
- Upload the VCL to Fastly to apply your changes.
32+
1. On the next modal window, click **DELETE** and activate a new version.
2933

30-
- Use the Fastly API [Delete custom VCL snippet]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-vcl) operation to delete the snippet completely, or submit a support ticket to request deletion.
34+
{:.bs-callout-warning}
35+
The *Custom VCL snippets* UI option shows only the snippets added through the Admin UI. You must [manage custom VCL snippets using the Fastly API]({{ site.baseurl }}/cloud/cdn/cloud-vcl-custom-snippets.html#manage-custom-vcl-snippets-using-the-api).
3136

3237
[Manage custom VCL snippets]: {{site.baseurl}}/common/images/cloud/cloud-fastly-manage-snippets.png
33-
{:width="650px"}
38+
{:width="650px"}

0 commit comments

Comments
 (0)