Serving Your Static Sites with Azure Blob and CDN #34
Replies: 7 comments 20 replies
-
Interesting... do you have an issue with cache busting? Meaning, after you've updated a static file, and CDN rolls it out, how do you ensure clients pull the new file without manually clicking refresh in the browser? If I could be convinced there is a solution to this problem I would definitely be in favor of this solution for my angular app. |
Beta Was this translation helpful? Give feedback.
-
Hi Hao, great article! I'm trying to tweak the UrlRewrite rules a bit but can't make them work as expected :/. |
Beta Was this translation helpful? Give feedback.
-
I will have to disagree with using "$" as a source as it has a limitation. It only works as expected when you do not set an origin path but if there is an origin path then the source with a "$" will not trigger. Therefore this "((?:[^\?]*/)?)($|\?.*)" is recommended to use instead |
Beta Was this translation helpful? Give feedback.
-
Hoping someone can assist me. I've followed this blog post, but went one step further and activated a custom domain to use with azure cdn and have enabled https. I am noticing that when I go to domain.com, I am correctly re-directed to https://www.mydomain.com which points to index.html in blob storage. My problem is when I attempt to visit www.mydomain.com (note the www subdomain), I am redirected to https://www.mydomain.com/or.... I am trying to get this to go to https://www.mydomain.com instead. In addition to the CDN rule highlighted in the blog post, I am using a second CDN rule to force direct http to https. Here is what my other rule looks like: Can someone please assist? |
Beta Was this translation helpful? Give feedback.
-
I am currently looking for a way to handle the url rewritting for an Angular application. The top level domain redirect to .html seems to work perfectly fine but as soon as people add an url path e.g https://myTopLevelDomain.ne... then I receive an http 404 error. Did anyone find out how to solve this problem? |
Beta Was this translation helpful? Give feedback.
-
Hi ,Currently I am facing an issue in angular routing to achieve the user. I have added above two rules didn't worked for me |
Beta Was this translation helpful? Give feedback.
-
Very Impressive Azure Tutorial. The content seems to be pretty exhaustive and excellent and will definitely help in learning Azure Tutorial.I'm also a learner taken up Azure Training and I think your content has cleared some concepts of mine. While browsing for Azure Course on YouTube i found this fantastic video on Azure Course. Do check it out if you are interested to know more on Azure Tutorial.:-https://www.youtube.com/wat... |
Beta Was this translation helpful? Give feedback.
-
Serving Your Static Sites with Azure Blob and CDN
https://blog.lifeishao.com/2017/05/24/serving-your-static-sites-with-azure-blob-and-cdn/
Beta Was this translation helpful? Give feedback.
All reactions