You can directly tell Apache to compress its response by adding

AddOutputFilterByType DEFLATE text/html text/plain text/xml

in your configuration assuming you have mod_deflate installed.


On 9/3/07, Alexander Deruwe <[EMAIL PROTECTED]> wrote:
>
> On 03 Sep 2007, at 17:04, rbawaskar wrote:
> > Any help in how do we enable Gzip using symfony.....?
> >
> > Will the "compressed: on" in the settings.yml .....do the needful ? if
> > not then what does it do ?
>
> I tested this some time ago, with mixed results...  While I am sure I
> did something wrong, I'll share my results anyway...
> With 'compressed: on', sometimes my actions would result in a
> download of a file named after the action - I got so annoyed at this
> I can't remember opening the file to check the contents...  Probably
> the gzipped HTML...
>
> So, baring in mind I probably did something wrong...  It didn't work
> for me, and for now I simply send the result uncompressed.
> If I would want to gzip my responses again, I would probably enable
> it in apache2 instead of symfony...
>
> Rereading this, I'm not sure if it's helpful at all...  Anyway...
>
>
> Alexander
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to