Setup IIS10 to serve pre-compressed files
my angular2 projects build pre-compressed gzip files for my web-app but my IIS only serves the normal ".js" files instead of the compressed ".gzip" files. My browser is willing to accept gzip. What is the correct setting for IIS to allow gzip responses? I already searched google/SO/SU but only found solutions for not "pre-compressed" content. A more neat and elegant solution: NOTICE: The file extension .gzip seems strange, in general, we name a gziped file as .gz , so in this example, we use .gz instead .gzip , if you insist on .gzip , just replace all the extensions in the following config