通过编码的Gzip压缩在Localhost中工作,但在在线共享主机中没有 [英] Gzip Compression through coding is working in Localhost but no in Online shared hosting

查看:55
本文介绍了通过编码的Gzip压缩在Localhost中工作,但在在线共享主机中没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Iam使用MVC4,我的应用程序是在Godaddy中共享的。

为了提高网站性能,我通过编码(使用MVC4)应用Gzip压缩,添加按照此链接在App_start文件夹中的CompressFilter.cs类。



http://stackoverflow.com/questions/17040788/gzip-compression-from-code [ ^ ]



Gzip压缩在LocalHost中运行正常,但是在线上传代码后,它无法正常工作。

网上有没有什么需要更改web.config文件?





plz帮帮我


Iam using MVC4, My application is shared hosted in Godaddy.
To increase site performance i applied Gzip Compression through coding(using MVC4), by adding CompressFilter.cs class in App_start folder by following this link.

http://stackoverflow.com/questions/17040788/gzip-compression-from-code[^]

Gzip Compression is working fine in LocalHost, but after code is uploaded in online, it's not working.
Is there anything need to change in web.config file in online ?


plz help me

推荐答案

你已经得到了这个答案:共享主机GoDaddy中的Gzip压缩问题 [ ^ ]

请不要继续发布相同的问题。答案不会神奇地改变。正如克里斯蒂安所说:与GoDaddy交谈。
You have already had this answered: Problem in Gzip compression in shared hosting GoDaddy[^]
Please do not keep on posting the same question. The answer is not going to magically change. As Christian said: talk to GoDaddy.


这篇关于通过编码的Gzip压缩在Localhost中工作,但在在线共享主机中没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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