It appears you have not registered with our community. To register please click here ...

!!

Welcome to Russian Women Discussion - the most informative site for all things related to serious long-term relationships and marriage to a partner from the Former Soviet Union countries!

Please register (it's free!) to gain full access to the many features and benefits of the site. Welcome!

+-

Author Topic: Server wide gzip compression enabled  (Read 4393 times)

0 Members and 1 Guest are viewing this topic.

Offline Admin

  • Administrator
  • *
  • Posts: 8195
  • Country: us
  • Gender: Male
  • Spouse's Country: No Selection
  • Status: No Selection
  • Trips: > 10
Server wide gzip compression enabled
« on: January 12, 2010, 10:29:41 AM »
One of  those geeky triumphs I feel I just need to share although it is unlikely anyone will notice a difference.

I was finally able to get the web server to compress all HTML output, including HTML generated by PHP scripts like the portal and forum used on this site.

Prior to this stellar achievement each script was using it's own "in house" compression, and only static .html files were being compressed by the server. While that is likely fine on lower traffic sites, I think it did contribute to occasional load spikes here. So now compression is handled by a compiled program written in C for all web pages, rather than on the fly interpreted PHP.  Compression is also higher, with fewer CPU ticks spent doing the compressing.

The forum index for example
Original Size: 136.54 KB
Gzipped Size: 16.96 KB
Data Savings: 87.58%   

As Martha used to say, "It's a good thing©", of course then she went to prison. I doubt she says that much anymore.

« Last Edit: January 12, 2010, 10:33:04 AM by Admin »

Offline Dewed

  • Opted-Out
  • ***
  • Posts: 495
  • Country: us
  • Gender: Male
  • Spouse's Country: No Selection
  • Status: No Selection
  • Trips: No Selection
Re: Server wide gzip compression enabled
« Reply #1 on: January 12, 2010, 10:37:44 AM »
oops  ,  just to clarify, I made the post above. I needed to use the admin account to disable the "in house" compression and after a successful test, I made the post above.


Offline SMS60

  • Full Member
  • ***
  • Posts: 778
  • Country: us
  • Gender: Male
  • Spouse's Country: No Selection
  • Status: No Selection
  • Trips: No Selection
Re: Server wide gzip compression enabled
« Reply #2 on: January 12, 2010, 10:42:02 AM »
oops  ,  just to clarify, I made the post above. I needed to use the admin account to disable the "in house" compression and after a successful test, I made the post above.



Good job!! Completed "male" projects are good for the ego.
Quote from: Simoni on Today at 09:06:15 AM
But my understanding is that "Anything Goes" does not really mean "anything" if that "anything" violates the TOS.

Offline Shadow

  • Hero Member
  • *****
  • Posts: 9097
  • Country: nl
  • Gender: Male
  • Spouse's Country: Russia
  • Status: Married > 10 years
  • Trips: > 10
Re: Server wide gzip compression enabled
« Reply #3 on: January 12, 2010, 11:19:59 AM »
Sounds great. But I feel a bit compressed :P
No it is not a dog. Its really how I look.  ;)

Offline XMan

  • Full Member
  • ***
  • Posts: 636
  • Country: us
  • Gender: Male
  • Spouse's Country: Ukraine
  • Status: Looking > 5 years
  • Trips: > 10
Re: Server wide gzip compression enabled
« Reply #4 on: January 12, 2010, 11:23:31 AM »
Now if only you could gzip the federal budget.

 

+-RWD Stats

Members
Total Members: 8884
Latest: Eugeneecott
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 541406
Total Topics: 20862
Most Online Today: 3837
Most Online Ever: 12701
(January 14, 2020, 07:04:55 AM)
Users Online
Members: 6
Guests: 3832
Total: 3838

+-Recent Posts

Re: The Struggle For Ukraine by Trenchcoat
Today at 02:29:51 AM

Re: Trippin in St Pete by Trenchcoat
Today at 12:04:20 AM

Re: The Struggle For Ukraine by krimster2
Yesterday at 06:59:34 PM

Re: The Struggle For Ukraine by Bee Farmer
Yesterday at 05:45:55 PM

Re: The Struggle For Ukraine by krimster2
Yesterday at 04:26:40 PM

Re: The Struggle For Ukraine by Trenchcoat
Yesterday at 11:50:09 AM

Re: The Struggle For Ukraine by krimster2
Yesterday at 10:25:35 AM

Re: The Struggle For Ukraine by Trenchcoat
Yesterday at 10:11:51 AM

Re: The Struggle For Ukraine by krimster2
Yesterday at 10:01:07 AM

Re: The Struggle For Ukraine by Grumpy
Yesterday at 09:25:42 AM

Powered by EzPortal