开发者

Gzip in asp.net for Response and Request?

开发者 https://www.devze.com 2023-04-06 23:29 出处:网络
When I use Gzip, I put some code in global.asax which zip the reponse from theserver to my client. But my page contains a lot of text ( no view state - pure text).

When I use Gzip, I put some code in global.asax which zip the reponse from the server to my client.

But my page contains a lot of text ( no view state - pure text).

When I save it - it uploads it all as a plain text.

Is 开发者_JAVA技巧there any way to zip the uploaded content ?


You can enable GZip on the server.

By doing it in your application, do you ever have a moment where you don't want it? Why wouldn't you want it on all the time?

0

精彩评论

暂无评论...
验证码 换一张
取 消