如何在共享主机中为我的网站启用Gzip压缩 [英] How to enable Gzip Compression for my site in Shared hosting

查看:65
本文介绍了如何在共享主机中为我的网站启用Gzip压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我希望通过降低页面加载速度来提高网站性能。我只是将所有JS和CSS文件转换为缩小版本(Iam使用MVC4)。当我在搜索关于 Gzip Compression 的表现时。它是什么?如何为我的网站启用Gzip压缩,我使用共享主机(Godaddy)。

PLZ帮我找到这个。

谢谢..

解决方案

试试这个

ASP.NET MVC操作过滤器 - 缓存和压缩 [ ^ ]


您好dora,



请参考:



- http://silverlight4europeanhosting.hostforlife.eu/post /European-Silverlight-Hosting-Amsterdam-How-to-Enable-Dynamic-Compression-in-IIS-775.aspx [ ^ ]

- http:// stackoverflow .com / questions / 6938713 / gzip-compression-on-iis-7-5-is-not-working [ ^ ]

- http://stackoverflow.com/questions/7171434/iis-7-5-gzip-compression-at-shared -hosting [ ^ ]

Hi,
I want to increase my site performance by decreasing page load speed. i just convert all JS and CSS files to minified version(Iam using MVC4). while i was searching about performance i read about Gzip Compression. what is it? how can i enable Gzip Compression for my site, i am using shared hosting(Godaddy).
plz help me to find this out.
Thank you..

解决方案

Try this
ASP.NET MVC Action Filter - Caching and Compression[^]


Hi dora,

Please refer here:

-http://silverlight4europeanhosting.hostforlife.eu/post/European-Silverlight-Hosting-Amsterdam-How-to-Enable-Dynamic-Compression-in-IIS-775.aspx[^]
- http://stackoverflow.com/questions/6938713/gzip-compression-on-iis-7-5-is-not-working[^]
- http://stackoverflow.com/questions/7171434/iis-7-5-gzip-compression-at-shared-hosting[^]


这篇关于如何在共享主机中为我的网站启用Gzip压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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