|
15 | 15 | 1. After the upload completes, refresh the cache according to the notification at the top of the page.
|
16 | 16 |
|
17 | 17 | {:.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). |
19 | 19 |
|
20 | 20 | ## Delete the custom VCL snippet
|
21 | 21 |
|
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] |
23 | 29 |
|
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. |
25 | 31 |
|
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. |
29 | 33 |
|
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). |
31 | 36 |
|
32 | 37 | [Manage custom VCL snippets]: {{site.baseurl}}/common/images/cloud/cloud-fastly-manage-snippets.png
|
33 |
| -{:width="650px"} |
| 38 | +{:width="650px"} |
0 commit comments