0

I have js files that are gzip on my server. I need to redirect any request to any js files to js.gz I know that web.config can take rules, but I am not sure how to format the rule for it to work.

Any suggestion on what the rule should look like?

Niklas Higi
  • 2,188
  • 1
  • 14
  • 30
Pic Mickael
  • 1,244
  • 19
  • 36
  • Does [this answer](https://stackoverflow.com/a/7265878/6662225) work for you? – Niklas Higi Nov 29 '17 at 16:47
  • Unfortunatly no. I already use those settings are for the server to gzip the files on the fly (or cache). But the server I am using does not authorize this. That's why I generated the gzip files and instead need the redirect. – Pic Mickael Nov 29 '17 at 18:02

0 Answers0