Hi @Robert Crockett ,
About your question.
- Zip files will not store to temp folder when compression is turned off. Compression happens on the main thread. But to not incur cost of compression for all requests compression happens only for frequently requested content. Only when compression is enabled and the client receives compressed headers in the request, IIS will compress the resource and update it to the temp folder, and respond to the client. Otherwise, IIS always responds to the client with the original resource.
- Whether the compressed file will be sent to the client in response depends not only on whether it is enabled in IIS, but also on whether there is Accept-Encoding: gzip or Accept-Encoding: deflate in the headers.
- Whether to use compression depends on the amount of traffic in a request of site itself. The main function of compression is to save bandwidth and traffic. If you have a large number of static files in your site and a large number of files need to be loaded to the client for each request, I recommend that you enable static compression.
- Setting compression through web.config and IIS Manager has the same effect. IIS Manager essentially modifies the content of web.config, but it is faster and more convenient than modification in web.config.
- IIS can also compress javascript files. You can use IIS to compress all resources. Using multiple minifiers at the same time may cause unforeseen problems.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
BruceZhang