How to force serving of some Javascripts as .js and not .axd - for Cloudflare CDN caching

Palo Stefek asked on June 18, 2017 22:19

Kentico is forcing some Javascripts as ScriptResource.axd?d=P5lTttoqSe... and WebResource.axd?d=pynGkmcFUV13...

Cloudflare does not allow to cache javascripts with other extension than .js

Any clues? Kentico? Make Kentico work with tier 1 CDN?

thanks!

for sure cache everything rule is ruled out for dynamic sites..

Recent Answers


Andrew Radburnd answered on June 19, 2017 13:44

Hi Palo,

I haven't double checked myself just yet but I believe in the past I have used page rules to cache these URLs. If you create a page rules to cache everything for http://www.example.com/*.axd I think you should get what you are looking for. CloudFlare page rules

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.