Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: GZipCompression

$
0
0
Re: GZipCompression
Web Connection 5.0
Re: GZipCompression
10/11/2012
01:24:52 PM
3M90SR399 Show this entire thread in new window
Gratar Image based on email address
From:
Luca
To:
Attachments:
None
and what is the utility of GZipCompression?
I do not know this functionality and I do not know what expecting to see.

We are talking about this topic?
http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

In documentation I see about GZipCompression in:
wwPageResponse::GZipCompression
wwHTTP::lAllowGZip

I have to modify ONLY the OnProcessInit of MyAppProcess.prg to enable GzCompression globally in the web application, or there are also other settings I have to set?

FUNCTION OnProcessInit *** All requests going through this Process class *** get GZip compression Response.GzipCompression = .T.


What are you expecting to see? The whole point of this feature is that it is transparent.

When set output responses are GZip encoded if the client supports it (ie. browsers that send Accept-Encoding headers).

To check and see whether this works and content is encoded look at the request output (Status form | Display Request with Save Request Files enabled). The output generated should be binary.

+++ Rick ---



Dear friends,
I am reading about wwPageResponse::GZipCompression.
I tried to set in MyAppProcess:

FUNCTION OnProcessInit Response.GzipCompression = .T.

but I have not seen any change by running my application.
Please:

1) what is the utility of GZipCompression?
2) how to see the effect of GZipCompression?

Thank you very much




Viewing all articles
Browse latest Browse all 10393

Trending Articles