
MINIFY STORAGE HOW TO
Save these resources if you want to go to Next steps and learn how to add a custom domain to your endpoint. In the preceding steps, you created a CDN profile and an endpoint in a resource group. If they are not, the object will no longer be cached. When the time-to-live period expires, Azure CDN determines whether the CDN endpoint is still valid and the object is still anonymously accessible. Modify your hosted service to no longer respond to requests for the object.Īn object that's already cached in Azure CDN remains cached until the time-to-live period for the object expires or until the endpoint is purged.Disable or delete the CDN endpoint by using the Azure portal.For more information, see Manage anonymous read access to containers and blobs. Make the container private instead of public.If you no longer want to cache an object in Azure CDN, you can take one of the following steps: If you modify an object that's currently cached in the CDN, the new content will not be available via Azure CDN until Azure CDN refreshes its content after the time-to-live period for the cached content expires. The address for a cached blob has the following format:Īfter you enable Azure CDN access to a storage account, all publicly available objects are eligible for CDN POP caching. To access cached content on the CDN, use the CDN URL provided in the portal. For more information, see Using Azure CDN with SAS. A SAS is a URI that grants restricted access rights to your Azure Storage resources without exposing your account key. If you want to grant limited access to private storage containers, you can use the Shared Access Signature (SAS) feature of your Azure Storage account. Enable additional CDN featuresįrom the storage account Azure CDN page, select the CDN endpoint from the list to open the CDN endpoint configuration page.įrom this page, you can enable additional CDN features for your delivery, such as compression, query string caching, and geo filtering.
MINIFY STORAGE DOWNLOAD
If you want to specify advanced configuration settings for your CDN endpoint, such as large file download optimization, you can instead use the Azure CDN extension to create a CDN profile and endpoint. After the endpoint is created, it appears in the endpoint list. īy default, a new CDN endpoint uses the hostname of your storage account as the origin server.

This name must be globally unique across Azure because it's to access your cached resources at the URL. Select one of the Standard options, such as Microsoft CDN (classic).Įnter your endpoint hostname, such as cdn-endpoint-123. Select Create new and enter your profile name, for example, cdn-profile-123.

In the New endpoint section, enter the following information: Setting On the page for your storage account, select Blob service > Azure CDN from the left menu. Once creation is complete, select Go to resource to open the storage account's page for the next step. Leave all other details set to the defaults, then select Review + create.Ĭreating the storage account might take several minutes to complete. Select an Azure region near you from the drop-down list. To address a container resource in Blob storage, use a URI in the following format. The name must be unique across Azure, and becomes the host name in the URL that's used to address blob, queue, or table resources for the subscription. You can also use an existing resource group if you prefer.Įnter a name for the account using 3-24 lowercase letters and numbers only. Select Create new and use the name CDNQuickstart-rg. In the Create storage account pane, enter the following details: Setting Search for Storage account and select Storage account from the list. In the Azure portal, select Create a resource on the upper left. To create a storage account, you must be either the service administrator or a coadministrator for the associated subscription. For more information, see Introduction to Microsoft Azure Storage. The storage account represents the highest level of the namespace for accessing each of the Azure Storage service components: Azure Blob, Queue, and Table storage.

Create a storage accountĪ storage account gives access to Azure Storage services. Sign in to the Azure portal with your Azure account. An Azure account with an active subscription.It can cache blobs and static content of compute instances at physical nodes in the United States, Europe, Asia, Australia, and South America. Azure CDN offers developers a global solution for delivering high-bandwidth content. In this quickstart, you enable Azure Content Delivery Network (CDN) to cache content from Azure Storage.
