473,421 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Gzip compression and ASP.NET

Hi

Does anyone have experience using gZip compression on the IIS server with a
ASP.NET application. How much can a page be compressed. As i see it it must
have a huge impact on the total size. Eg. if i take a 400 kb (260 rows in a
datagrid with viewstate) and saveit as txt file an compress it with winzip i
zipped to around 30 kb. Thats something! Is the compression rate in the same
area on the IIS server?

Is there any penalties expect a higher CPU usage from the IIS server? (No
problem in our application) Pther problem that i should be aware of?

Thank in regards
Anders Jacobsen
Nov 19 '05 #1
4 1626
"Anders K. Jacobsen [DK]" <no**@at.all> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi

Does anyone have experience using gZip compression on the IIS server with
a ASP.NET application. How much can a page be compressed. As i see it it
must have a huge impact on the total size. Eg. if i take a 400 kb (260
rows in a datagrid with viewstate) and saveit as txt file an compress it
with winzip i zipped to around 30 kb. Thats something! Is the compression
rate in the same area on the IIS server?

Is there any penalties expect a higher CPU usage from the IIS server? (No
problem in our application) Pther problem that i should be aware of?
No. It just rocks. But just a little system admins configure IIS with
compression. A big pity...
Expect compression up to 90%
Thank in regards
Anders Jacobsen


Nov 19 '05 #2
Anders K. Jacobsen [DK] wrote:
Hi

Does anyone have experience using gZip compression on the IIS server
with a ASP.NET application. How much can a page be compressed. As i
see it it must have a huge impact on the total size.
From what I've experienced in web applications, expect compression rated of
at least 70%.

[...] Is there any penalties expect a higher CPU usage from the IIS server?
(No problem in our application) Pther problem that i should be aware
of?


For high traffic sites, you can perform compression through specialized
hardware like Redline T|X boxes.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Nov 19 '05 #3
> No. It just rocks. But just a little system admins configure IIS with
compression. A big pity...
Expect compression up to 90%


Sounds just great. Ill look into it.What browsers can handle gzip
compression?

Anders
Nov 19 '05 #4
Anders K. Jacobsen [DK] wrote:
No. It just rocks. But just a little system admins configure IIS with
compression. A big pity...
Expect compression up to 90%


Sounds just great. Ill look into it.What browsers can handle gzip
compression?


At least all modern versions of IE, Mozilla/Firefox, and Opera (don't know
about Safari, but HTTP compression has been around for years now) . HTTP
compression is only applied if the user agent sends an appropriate
"Accept-Encoding" header, so even older browsers will continue to work, but
recieve uncompressed content.

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss.de
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Xah Lee | last post by:
today i need to use Python to decompress gzip files. since i'm familiar with Python doc and have 10 years of computing experience with 4 years in unix admin and perl, i have quickly located the...
25
by: Xah Lee | last post by:
Python Doc Problem Example: gzip Xah Lee, 20050831 Today i need to use Python to compress/decompress gzip files. Since i've read the official Python tutorial 8 months ago, have spent 30...
1
by: sameer | last post by:
Hi All, I am adding a custom header (Gzip header for compression) to the request when calling a webservice( sitting on a webserver) over the internet from my application ( If interested in the...
2
by: .nLL | last post by:
hi. i have recently enabled gzip compression on my server and it works fine. but i have noticed something wierd. To protect my self from hotlinking i use a simple code to send my download with...
2
by: Chaos | last post by:
I have tried to search Google, but I cannot seem to find a library to decompress a gzip string or char to a string or char. I want to write something that allows libcurl to access a page, save the...
2
by: Carlo Razzeto | last post by:
Hello there, I'm having an odd issue with GZIP compression (having followed example code found on MSDN). Basically, after running through the compression routine I end up with a byte array...
3
by: Sean Davis | last post by:
I have a set of numpy arrays which I would like to save to a gzip file. Here is an example without gzip: b=numpy.ones(1000000,dtype=numpy.uint8) a=numpy.zeros(1000000,dtype=numpy.uint8) fd =...
6
by: Giorgio Parmeggiani | last post by:
Hi I'm using the gzip compression found in WCG samples kit. It works well, but how can I set the SendTimeout and ReceiveTimeout parameters? Thank in advance Giorgio
6
by: pooppoop | last post by:
Hi, and thanks for viewing my post. i have an odd result when trying to compress and decompress a string. it seems that when i replace the Zero's in the input stream it works, if not the string...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.