Questions tagged [azure-cdn]

Content Delivery Network for Windows Azure, used for serving content with high availability and high performance

Docs page: Azure Content Delivery Network.

442 questions
31
votes
3 answers

Azure, best way to store and deploy static content (e.g. images/css)?

We're about to deploy our .NET web application to an Azure Web Role. I'm just wondering how others have handled their static content, specifically images and css? At the moment our application package is about 25mb but 18mb of that is derived purely…
QFDev
  • 8,668
  • 14
  • 58
  • 85
26
votes
1 answer

Why isn't 'Vary: Origin' response set on a CORS miss?

When making a CORS request, if the requested Origin is on the list of allowed origins, the response contains both the Access-Control-Allow-Origin header, and the Vary: Origin header. The Vary: Origin telling onward CDNs etc that the response was…
simbolo
  • 7,279
  • 6
  • 56
  • 96
21
votes
3 answers

Hosting SPA with Static Website option on Azure Blob Storage (clean URLs and Deep links)

I have succesfully set up a static website on Azure Blob storage using the $web container as advised within the Microsoft documentation. In addition, I have defined index.html for both the 'Index Document Name' and the 'Error Document Name'. This is…
20
votes
3 answers

Azure CDN Microsoft Standard Rules Engine Rewrite URL for single-page-application

We try to configure Azure CDN on Microsoft Standard pricing to allow us rewrite Url to route all application routing to ./index.html. How to setup rules engine to rewrite url but left all js file as it is? All examples in google show how to do this…
CrazyBaran
  • 572
  • 3
  • 20
19
votes
6 answers

Forcing HTTPS with Azure CDN

I’m using Azure CDN in front of a Storage Account. I’m wanting to serve everything via HTTPS only, so I’ve setup HTTPS on the custom domain and created a URL rewrite: But the problem is that I end up at a URL like…
Aaron Powell
  • 24,927
  • 18
  • 98
  • 150
19
votes
4 answers

Azure CDN vs Azure Blob storage origin pull takes way too long

I am using azure blob storage to store images in a public container and embedding them in a public website. Everything works fine, blobs are publicly available on xxxxx.blob.core.windows.net the instant i upload them. I wanted to use Azure CDN for…
Lee Gary
  • 2,357
  • 2
  • 22
  • 38
15
votes
4 answers

Azure CDN returning 404 while origin url doesn't

I've created a cdn service and set the origin url to a azure website which runs iis-node that serves a NodeJS web application, when trying to access static resources the cdn always return 404 while the same pathname works when accessing the resource…
Shachar
  • 487
  • 5
  • 15
15
votes
2 answers

Image Hosting Azure

I'm creating a website where users will be able to upload various images when creating a new page on my website. What service does Microsoft offer to host many user uploaded images. Would a Blob suffice? If so, if I were to add a CDN, would it be…
Moe Bataineh
  • 1,032
  • 1
  • 12
  • 29
12
votes
1 answer

Azure CDN + Asp.net MVC Cloud Service compression for bundles not working

I am using Azure CDN which is pointing to my Azure Cloud Service. I have enabled bundling for my JS and CSS files, and in BundleConfig I have set bundles.UseCdn = true. Everything is working fine, except that JS & CSS bundles returned via CDN are…
hyperN
  • 2,674
  • 9
  • 54
  • 92
12
votes
4 answers

azure cdn purge not refreshing cached content

I have an Azure CDN (Verizon, premium) connected to blob storage. I have 2 rules in place based on step 6 in this tutorial. The rules are designed to force the CDN to serve "index.html" when the root of the CDN is called. They may or may not be…
jpetitte
  • 610
  • 5
  • 18
11
votes
1 answer

Azure CDN (Verizon) custom rewrite rule invalid origin

I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document…
11
votes
3 answers

Unable to find option to create a CDN in the new Azure portal

I'm trying to create an Azure CDN and cannot find the option to do in the new Azure portal. According to other sources, there is supposed to be a CDN option under the New -> App Services menu like so: But when I log into the portal, this CDN option…
JohnVo
  • 277
  • 1
  • 12
11
votes
3 answers

Azure CDN - Enabling HTTP Compression - Hosted Web Role

Has anyone successfully configured Azure CDN for HTTP compression using their hosted web role? We are having trouble compressing HTTP content at the Azure edge servers. The CDN is only caching the uncompressed version of the content. If we hit our…
SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
10
votes
2 answers

Rewrite URL for static website hosted in Azure Storage

I have deployed Angular 7 app to Azure Storage Static Website. Angular app makes calls to .NET Core API which is deployed to Azure App Service. Is it possible to configure URL rewrite (reverse proxy) to route Angular app requests to .NET Core API…
10
votes
2 answers

Azure CDN rules engine to rewrite default document and remove .html extension

I would like to use azure blob and CDN premium features but the documentation is very sparse. This is something totally doable on Amazon S3 / CloudFront. For clarity I want *.azureedge.net/sample/index.html to equal*.azureedge.net/sample/ and…
glued
  • 2,579
  • 1
  • 25
  • 40
1
2 3
29 30