Re: Pylons with gzip compression?

2008-12-19 Thread Dalius Dobravolskas

Hi,

 I am beginning and I have one question about running Pylons(paster)
 v0.9.6 with gzip compression(for pages) How to do it? :)
Two ways:
1) Search for gzipmiddleware here:
http://pylonsbook.com/alpha1/wsgi

Actually it would be nice if this middleware were available in Pylons
by default. Maybe it is?

2) Serve behind apache and use apache's modules (mod_deflate);

-- 
Dalius
http://blog.sandbox.lt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Pylons with gzip compression?

2008-12-19 Thread sniipe

thanks :) everything works :) In my opinion it should be implemented
by default :P

On 19 Gru, 09:14, Dalius Dobravolskas
dalius.dobravols...@gmail.com wrote:
 Hi,

  I am beginning and I have one question about running Pylons(paster)
  v0.9.6 with gzip compression(for pages) How to do it? :)

 Two ways:
 1) Search for gzipmiddleware here:http://pylonsbook.com/alpha1/wsgi

 Actually it would be nice if this middleware were available in Pylons
 by default. Maybe it is?

 2) Serve behind apache and use apache's modules (mod_deflate);

 --
 Daliushttp://blog.sandbox.lt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Pylons with gzip compression?

2008-12-19 Thread Tomasz Narloch

Dalius Dobravolskas pisze:
 Hi,

   
 I am beginning and I have one question about running Pylons(paster)
 v0.9.6 with gzip compression(for pages) How to do it? :)
 
 Two ways:
 1) Search for gzipmiddleware here:
 http://pylonsbook.com/alpha1/wsgi

 Actually it would be nice if this middleware were available in Pylons
 by default. Maybe it is?
   
I know that above example from book works but compressing  the same  
static css and js each request is not that I need.
How can I add cache for this gziped file?

Best Regards,
Tomek

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---