Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-03

WebLaz GZipped response

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog
to Leonardo M. Ramé

2013/3/11 Leonardo M. Ram?

Show quoted text 8 lines
Hi, in order to created gzip'd streams Responses to requests, do I need to explicitly create the gzipped stream?, if yes, does the browser decompress it automaticall?. Regards, -- Leonardo M. Ram? http://leonardorame.blogspot.com

Hello Leonardo,

I use it, and it's very easy to configure it on your (Fast)CGI or server.

Please see:

http://en.wikipedia.org/wiki/HTTP_compression

I use it directly in Apache, configuring in .htaccess file:

http://www.parorrey.com/blog/webmaster-tasks/enabling-gzip-compression-on-your-website-on-apache-via-htaccess

:)

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130311/f4fe4bc4/attachment.html>

Reply by email

Leonardo M. Ramé
to silvioprog
silvioprog wrote 26 lines
2013/3/11 Leonardo M. Ram? > Hi, in order to created gzip'd streams Responses to requests, do I need > to explicitly create the gzipped stream?, if yes, does the browser > decompress it automaticall?. > > Regards, > -- > Leonardo M. Ram? > http://leonardorame.blogspot.com Hello Leonardo, I use it, and it's very easy to configure it on your (Fast)CGI or server. Please see: http://en.wikipedia.org/wiki/HTTP_compression I use it directly in Apache, configuring in .htaccess file: http://www.parorrey.com/blog/webmaster-tasks/enabling-gzip-compression-on-your-website-on-apache-via-htaccess :)

I noted you asked the same question some time ago:

http://lists.lazarus.freepascal.org/pipermail/lazarus/2012-February/070179.html

How did you compressed the streams?. Can you show some code?.

Reply by email

silvioprog
to Leonardo M. Ramé

2013/3/11 Leonardo M. Ram?

Show quoted text 39 lines
On 2013-03-11 16:22:09 -0300, silvioprog wrote: > 2013/3/11 Leonardo M. Ram? > > > Hi, in order to created gzip'd streams Responses to requests, do I need > > to explicitly create the gzipped stream?, if yes, does the browser > > decompress it automaticall?. > > > > Regards, > > -- > > Leonardo M. Ram? > > http://leonardorame.blogspot.com > > > Hello Leonardo, > > I use it, and it's very easy to configure it on your (Fast)CGI or server. > > Please see: > > http://en.wikipedia.org/wiki/HTTP_compression > > I use it directly in Apache, configuring in .htaccess file: > > http://www.parorrey.com/blog/webmaster-tasks/enabling-gzip-compression-on-your-website-on-apache-via-htaccess > > :) > I noted you asked the same question some time ago: http://lists.lazarus.freepascal.org/pipermail/lazarus/2012-February/070179.html How did you compressed the streams?. Can you show some code?. -- Leonardo M. Ram? http://leonardorame.blogspot.com

Yep.

https://github.com/silvioprog/brookframework/tree/master/demos/http/transferencodingdeflate

Change it to use gz. :)

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130311/e010762c/attachment.html>

Reply by email

silvioprog
to Leonardo M. Ramé

2013/3/11 Leonardo M. Ram?

Show quoted text 14 lines
> Yep. > > https://github.com/silvioprog/brookframework/tree/master/demos/http/transferencodingdeflate > > Change it to use gz. :) > Thanks!, it's working great now. -- Leonardo M. Ram? http://leonardorame.blogspot.com

o/

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130311/0dfe0311/attachment.html>

Reply by email