【问题标题】:Gzip compression of files in an umbraco solutionumbraco 解决方案中文件的 Gzip 压缩
【发布时间】:2012-04-10 19:23:33
【问题描述】:

我有一个 Umbraco 4.7.x 项目(.NET 4.0 网络表单),我想在其中压缩所有 html/css/js。这是我到目前为止所做的:

我的 bin 文件夹中有最新的 ClientDependency.Core.dllUmbraco4.ClientDependency.dll,并在我的 web-config 中注册。

我已经更新了ClientDependency.config(来自http://clientdependency.codeplex.com/releases/view/72284#DownloadId=273765

我在我的网络配置中启用了压缩: <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/>

为了让它发挥作用,我是否遗漏了什么?

【问题讨论】:

    标签: .net-4.0 gzip umbraco client-dependency


    【解决方案1】:

    【讨论】:

    • 嗯,很有趣。我很确定我有 IIS7.5,如果没有安装它会令人惊讶。我会调查并回来。
    • 我一直都必须安装它。
    猜你喜欢
    • 1970-01-01
    • 2017-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多