asp.net mvc - Cloudserver Auzre cdn not caching bundles -


i have configured cloud service , azure cdn based on below article, bundles not getting cached in client site. every time loading server. have set querystring caching behavior cache every unique url

https://azure.microsoft.com/en-in/documentation/articles/cdn-cloud-service-with-cdn/

access-control-allow-origin:*  cache-control:no-cache  content-length:6350  content-type:text/css; charset=utf-8  date:wed, 27 jan 2016 09:05:57 gmt  expires:-1  pragma:no-cache  server:microsoft-iis/8.5  x-aspnet-version:4.0.30319  x-powered-by:asp.net 

this because cache-control: no-cache header preventing files being cached on cdn. can verify checking if same header being returned when directly access file origin.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -