Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Tutorial: Enabling Compression on Web Servers

Here SysOps can list their MultiPlayer server info and users can send feedback to their SysOps. Or just talk about the MultiPlayer servers they play on. This is not about MultiPlayer in general - please use the MultiPlayer Forum for that!

Post Tue Jul 20, 2004 3:15 pm

Tutorial: Enabling Compression on Web Servers

(Not directly relevant to Freelancer, but hopefully useful information for server admins)

Most modern web servers can compress web content to make better use of bandwidth. Most modern web browsers can process compressed content, resulting in web pages appearing faster. However, some web servers aren't actually setup to do this compression.

So, if you're the administrator of a web site, and want to reduce your out going bandwith, or simply make your pages appear faster on users screens, read on...

You can include the module mod_gzip in your Apache configuration. You may find that your server already has this module loaded, but you'll need to configure it in your httpd.conf file. Here is a very good article on the how to do this: Click here. Newer versions of Apache (v2.0+) have mod_deflate instead, which does the same thing.

If you don't have admin access to your web server, then check out gzip_cnc (from the author of mod_gzip).

This is a perl CGI script which will compress any HTML file, keeping a cache of compressed files to ease server load. It is ideal for anyone who uses the web space provided by their ISP or web host. All you need is to be able to install your own CGI scripts on an Apache server that has Perl and gzip. If you don't know, then the easiest thing to do is try it!

I have installed this on my own web site, and found it easy to install and very effective. The Global Player Ranking tables are quite large, so this compression helps enormously, and pages come down much more quickly.

I hope this is useful, or at least interesting... read the links in this post carefully, as I can't promise I'll be able to answer any questions.

Cryo.

Cryogenius - Author of FLstat v1.3 and the Global Player Rankings .

Edited by - Cryogenius on 7/21/2004 2:30:26 AM

Post Wed Jul 21, 2004 4:48 am

Also, the Global Player Rankings now supports FLstat URLs that are .zip files instead of .html. I.e. you can upload a zip file containing "flstat.html" to your web server, and use less bandwidth. This is especially useful if you want to have just the top few players on your web site, but more (or all) of them included on the G.P.R. website. Obviously, this isn't worth doing if your web server supports on-the-fly compression as detailed above.

Cryo.

Return to Freelancer Server Forum