启用JavaScript GZIP COM pression在IIS中? [英] Enabling JavaScript GZIP compression in IIS?

查看:88
本文介绍了启用JavaScript GZIP COM pression在IIS中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找COM preSS我们用gzip庞大的JavaScript文件,以加快我们网站的页面加载。我知道这可以通过IIS来完成,但我似乎无法找到如何实现它一个简单的一步一步的指导。

we're looking to compress our gargantuan JavaScript files with GZip to speed up the page loads of our site. I know this can be done through IIS, but I can't seem to find a simple step-by-step guide on how to implement it.

如果有人能指出我朝着这样的指导,我真的AP preciate它。我从来没有这样做过,所以它需要是基本相当。

If someone could point me towards such a guide, I'd really appreciate it. I've never done this before, so it would need to be quite basic.

我们正在运行的 IIS7.5 的Windows Server 2008 R2

您的时间太多AP preciated。

Your time is much appreciated.

推荐答案

原来这真的很简单:


  1. 进入IIS管理器

  2. 进入站点有问题

  3. 转到'的COM pression(下IIS)并在其上双击

  4. 确保启用静态COM pression已启用。

就这么简单!

唯一的问题,配备了动态生成的内容,但我不感兴趣的COM pressing这一点,所以这就是我的回答。 (不能相信这是那么容易......其他导游使它看起来像一场噩梦!)

The only issues come with dynamically generated content, but I'm not interested in compressing that, so this is my answer. (Can't believe it was so easy... the other guides made it look like a nightmare!)

这篇关于启用JavaScript GZIP COM pression在IIS中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆