title | description | services | author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|
Enterprise-grade edge (preview) in Azure Static Web Apps |
Learn about Azure Static Web Apps enterprise-grade edge (Preview) |
static-web-apps |
craigshoemaker |
static-web-apps |
how-to |
01/11/2021 |
cshoe |
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.
Key features of Azure Static Web Apps enterprise-grade edge include:
-
Global presence in 118+ edge locations across 100 metro cities.
-
Caching assets at the edge.
-
Proactive protection against Distributed Denial of Service (DDoS) attacks.
-
Native support of end-to-end IPv6 connectivity and HTTP/2 protocol.
-
Optimized file compression.
Note
Static Web Apps enterprise-grade edge is currently in preview.
When enterprise-grade edge is enabled for your static web app, you benefit from caching at various levels.
-
CDN: Caching content on edge locations as physically close to users a possible to reduce latency.
-
DNS: Caching DNS records for faster lookups.
-
Browser: Files are stored in the browser and returned for identical requests.
For further control, you can also create custom cache control headers for your static web app.
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.
A managed experience provides:
- Zero configuration changes
- No downtime
- Automatically managed SSL certifications and custom domains
A manual setup gives you full control over the CDN configuration including the chance to:
- Limit traffic origin by origin
- Add a web application firewall
- Use more advanced features of Azure Front Door
- Custom domain configured for your static web app with a time to live (TTL) set to less than 48 hrs.
- An application deployed with Azure Static Web Apps that uses the Standard hosting plan.
-
Navigate to your static web app in the Azure portal.
-
Select Enterprise-grade edge in the left menu.
-
Check the box labeled Enable enterprise-grade edge.
-
Select Save.
-
Select OK to confirm the save.
Enabling this feature incurs extra costs.
az extension add -n enterprise-edge
az staticwebapp enterprise-edge enable -n my-static-webapp -g my-resource-group
- Private Endpoint cannot be used with enterprise-grade edge.
[!div class="nextstepaction"] Application configuration