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 4659 times)

0 Members and 1 Guest are viewing this topic.

Offline Admin

  • Administrator
  • *
  • Posts: 8210
  • 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: 9133
  • 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: 8888
Latest: UA2006
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 546125
Total Topics: 20977
Most Online Today: 70217
Most Online Ever: 194418
(June 04, 2025, 03:26:40 PM)
Users Online
Members: 7
Guests: 12219
Total: 12226

+-Recent Posts

Re: Operation White Panther by Trenchcoat
Today at 02:38:54 AM

Re: The Struggle For Ukraine by Trenchcoat
Today at 02:28:05 AM

Re: The Struggle For Ukraine by Trenchcoat
Today at 01:34:36 AM

Re: The Struggle For Ukraine by krimster2
June 16, 2025, 08:09:06 PM

Re: The Struggle For Ukraine by Trenchcoat
June 16, 2025, 05:44:57 PM

Re: The Struggle For Ukraine by krimster2
June 16, 2025, 12:50:11 PM

Re: The Struggle For Ukraine by Trenchcoat
June 16, 2025, 11:16:38 AM

Re: The Coming Crash by krimster2
June 16, 2025, 10:16:41 AM

Re: The Struggle For Ukraine by olgac
June 16, 2025, 09:28:09 AM

Re: The Struggle For Ukraine by krimster2
June 16, 2025, 09:22:11 AM

Powered by EzPortal