Skip to content

Support redirecting to Azure CDN #166

Discussion options

You must be logged in to vote

As I described in the other issue you quoted you really don't want to do this.

Basically you gain no localization benefit since the application has to process the request to do the 302 redirect to the endpoint. That's why a pass-through streaming option was added to ImageProcessor.Web (which I see you're familiar with and is possibly a driver for your request due to familiarity)

The processing pipeline as you've listed is absolutely the best way to use a CDN with the middleware.

Configuring your own application as a CDN endpoint is actually really simple.
https://docs.microsoft.com/en-us/azure/cdn/cdn-add-to-web-app it's a couple of text fields when you create your CDN.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@marklagendijk
Comment options

@JimBobSquarePants
Comment options

@dLopes-SE
Comment options

@deanmarcussen
Comment options

@dLopes-SE
Comment options

Answer selected by marklagendijk
Comment options

You must be logged in to vote
1 reply
@JimBobSquarePants
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants