Cache key based on 'Accept' header? (CDN via Microsoft)

Category: azure cdn

Question

theanatoki on Sun, 17 Mar 2019 07:14:35


Hi all

Wanting to serve different content based on the 'Accept' header i.e. image/jpeg is served as JPEG, image/webp is served as WEBP, however the 'Accept' header is not being passed from CDN to Origin. Is this an option or on the roadmap to being enabled? It is common practice with many other CDNs including Verizon, Akamai, Stackpath & CloudFront.

Cheers

Replies

msrini - MSFT on Sun, 17 Mar 2019 10:57:38


Hi, 

As of now, this is not supported. Reference: https://docs.microsoft.com/en-us/azure/cdn/cdn-features 

I will update you regarding the ETA, when I get an official time frame. 

Regards, 

Msrini

msrini - MSFT on Mon, 18 Mar 2019 08:57:53


Hi, 

Any update on this issue? If the proposed answer helped please remember to mark it as the answer so others who encounter a similar issue can easily find the solution. 

Regards, 

Msrini

theanatoki on Tue, 19 Mar 2019 02:48:48


Marked as answer.