[Lazarus] WebLaz GZipped response

silvioprog silvioprog at gmail.com
Mon Mar 11 20:40:16 CET 2013


2013/3/11 Leonardo M. Ramé <l.rame at griensu.com>

> On 2013-03-11 16:22:09 -0300, silvioprog wrote:
> > 2013/3/11 Leonardo M. Ramé <l.rame at griensu.com>
> >
> > > 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-ide.org/pipermail/lazarus/attachments/20130311/e010762c/attachment-0003.html>


More information about the Lazarus mailing list