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

0 Members and 1 Guest are viewing this topic.

Offline Admin

  • Administrator
  • *
  • Posts: 8212
  • 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: 9148
  • 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: 8892
Latest: csmdbr
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 546649
Total Topics: 21001
Most Online Today: 3482
Most Online Ever: 194418
(June 04, 2025, 03:26:40 PM)
Users Online
Members: 5
Guests: 3355
Total: 3360

+-Recent Posts

RW Attitudes About Sex? by 2tallbill
Yesterday at 10:07:10 AM

Presentation Côme by 2tallbill
Yesterday at 09:31:17 AM

Your ace in the hole by 2tallbill
Yesterday at 01:35:27 AM

Re: Presentation Côme by Trenchcoat
September 18, 2025, 04:56:20 PM

Re: Your ace in the hole by Trenchcoat
September 18, 2025, 04:31:15 PM

Re: New Guy Questions by Trenchcoat
September 18, 2025, 04:26:46 PM

Presentation Côme by csm
September 18, 2025, 04:02:10 PM

Re: Trippin in St Pete by olgac
September 18, 2025, 01:28:18 PM

Trippin in South Padre Island by 2tallbill
September 18, 2025, 01:19:43 PM

Re: The Struggle For Ukraine by Trenchcoat
September 18, 2025, 12:16:08 PM

Powered by EzPortal