Custom IIS module conflicting with gzip

家住魔仙堡 提交于 2019-12-06 08:03:40

There is configuration for static file compression to include particular file or mime types, I forget which one. If you want to use static compression it needs to only be on files that are actually static. The fact that you would be rewriting them with an HttpModule means they are no longer static. So, you could use dynamic compression for those file types, and as you might expect, you will want to make sure your dynamic compression will include the appropriate mime types or file extensions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!