andrewdavey / andrewdavey/cassette

gzip action filter and cassette -> issue

未关闭
#232 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
531
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

I get an error in production that says:

Cannot rewrite page output when it has been compressed. Either set ICassetteApplication.IsHtmlRewritingEnabled to false in the Cassette configuration, or set in Web.config.

I know this is explained in your manual. But I'm not using urlCompress in the web.config file. I have a gzip action filter set on my controller.

Seems like cassette acts after the gzip filter so there should be a cassette filter so that we can order them... Seems to me this is quite the norm to compress the output so cassette should definitely deal with that.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。