Yii Framework Forum: Gzip - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Gzip major benefit or not? Rate Topic: -----

#1 User is offline   haosmark 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 35
  • Joined: 27-January 13

Posted 19 February 2013 - 11:26 AM

Do you guys use gzip in your applications? Is it a major benefit? Are there drawbacks?
0

#2 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 19 February 2013 - 11:31 AM

For what precisely? Data storage? Transport encoding?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#3 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,549
  • Joined: 17-January 09
  • Location:Russia

Posted 22 February 2013 - 08:44 AM

We do. The benefit is significant but never do it on PHP side. Use Apache or nginx module. deflate works even better btw.
0

#4 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 22 February 2013 - 11:09 AM

Correct me if I'm wrong ... but isn't deflate just gzip sans header and checksum?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#5 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,317
  • Joined: 10-October 10
  • Location:Denmark

Posted 22 February 2013 - 11:31 AM

Gzip is good:

http://www.askapache...ompression.html

Posted Image

That reminds me to actually go and configure my own server to use this.. :)
"Less noise - more signal"
0

#6 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,269
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 22 February 2013 - 03:45 PM

Speaking of which. Just the other day I found out I could do this in nginx:
gzip_types text/* application/*+xml;

programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users