Skip to content

Commit 9423655

Browse files
Merge pull request #180066 from craigshoemaker/swa/managed-afd
[Static Web Apps] Managed AFD
2 parents 498e316 + 2633426 commit 9423655

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed

articles/static-web-apps/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
- name: Enable monitoring
7676
href: monitor.md
7777
displayName: Application Insights
78+
- name: Enable enterprise-grade edge
79+
href: enterprise-edge.md
7880
- name: Reset deployment tokens
7981
href: deployment-token-management.md
8082
- name: Troubleshoot errors
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
title: Enterprise-grade edge (preview) in Azure Static Web Apps
3+
description: Learn about Azure Static Web Apps enterprise-grade edge (Preview)
4+
services: static-web-apps
5+
author: craigshoemaker
6+
ms.service: static-web-apps
7+
ms.topic: how-to
8+
ms.date: 01/11/2021
9+
ms.author: cshoe
10+
---
11+
12+
# Enterprise-grade edge (Preview)
13+
14+
Use Azure Static Web Apps enterprise-grade edge (Preview) to enable faster page loads, enhance security, and optimize reliability for your global applications. Enterprise edge combines the capabilities of Azure Static Web Apps, Azure Front Door, and Azure Content Delivery Network (CDN) into a single secure cloud CDN platform.
15+
16+
Key features of Azure Static Web Apps enterprise-grade edge include:
17+
18+
* Global presence in 118+ [edge locations](/azure/frontdoor/edge-locations-by-region) across 100 metro cities.
19+
20+
* Caching assets at the [edge](/azure/frontdoor/front-door-caching).
21+
22+
* Proactive protection against [Distributed Denial of Service (DDoS) attacks](/azure/frontdoor/front-door-ddos).
23+
24+
* Native support of end-to-end IPv6 connectivity and [HTTP/2 protocol](/azure/frontdoor/front-door-http2.md).
25+
26+
* Optimized file compression.
27+
28+
> [!NOTE]
29+
> Static Web Apps enterprise-grade edge is currently in preview.
30+
31+
## Caching
32+
33+
When enterprise-grade edge is enabled for your static web app, you benefit from caching at various levels.
34+
35+
* **CDN**: Caching content on edge locations as physically close to users a possible to reduce latency.
36+
37+
* **DNS**: Caching DNS records for faster lookups.
38+
39+
* **Browser**: Files are stored in the browser and returned for identical requests.
40+
41+
For further control, you can also create [custom cache control headers](configuration.md) for your static web app.
42+
43+
## Configuration types
44+
45+
You can enable enterprise-grade edge powered by Azure Front Door via a managed experience through the Azure portal, or you [can set it up manually](front-door-manual.md).
46+
47+
A managed experience provides:
48+
49+
* Zero configuration changes
50+
* No downtime
51+
* Automatically managed SSL certifications and custom domains
52+
53+
A manual setup gives you full control over the CDN configuration including the chance to:
54+
55+
* Limit traffic origin by origin
56+
* Add a web application firewall
57+
* Use more advanced features of Azure Front Door
58+
59+
## Enable enterprise-grade edge
60+
61+
### Prerequisites
62+
63+
* [Custom domain](./custom-domain.md) configured for your static web app with a time to live (TTL) set to less than 48 hrs.
64+
* An application deployed with [Azure Static Web Apps](./get-started-portal.md) that uses the Standard hosting plan.
65+
66+
# [Azure portal](#tab/azure-portal)
67+
68+
1. Navigate to your static web app in the Azure portal.
69+
70+
1. Select **Enterprise-grade edge** in the left menu.
71+
72+
1. Check the box labeled **Enable enterprise-grade edge**.
73+
74+
1. Select **Save**.
75+
76+
1. Select **OK** to confirm the save.
77+
78+
Enabling this feature incurs extra costs.
79+
80+
# [Azure CLI](#tab/azure-cli)
81+
82+
```azurecli
83+
az extension add -n enterprise-edge
84+
85+
az staticwebapp enterprise-edge enable -n my-static-webapp -g my-resource-group
86+
```
87+
88+
---
89+
90+
## Next steps
91+
92+
> [!div class="nextstepaction"]
93+
> [Application configuration](configuration.md)

0 commit comments

Comments
 (0)