20030623 Monday June 23, 2003

Roller and GZIP Compression Roller has a couple of gzip compression filters built into its codebase thanks to Lance. I haven't been using them because, according to Dave, they didn't work on Tomcat. I'm not one to doubt Dave, so I'm guessing he was running on an old version of Tomcat when this happened - because I was able to get them running lickedly split today! All I had to do was uncomment the filter mappings for the PageGzipFilter and the RssGzipFilter and voila - you're getting gzipped content (if your browser supports it). I've verified it's working using Firebird's Live HTTP Headers extension (thanks for the tip Lance). Cool beans - now help me name this new theme before I commit it. Here's some ideas I've come up with:

  • Minimal
  • Sunsets
  • LowB (for Low Bandwidth)
  • Simplicity

All suggestions are welcome. Posted in Roller at Jun 23 2003, 09:10:27 PM MDT 8 Comments

Comments:

Now, when you say theme do you mean both of these first two themes that differ only in color? If so, meaning you are grouping them, then I would go with Sunset. Minimal and Simplicity both sound boring and generic. LowB is creative, but Sunsets just sort of fits. Why? well, because most of the page is muted compared to the very bright header and therefore resembles a CSS version of a sunset. Definitely sweet! You satisified my biggest complaint about roller, which was that it was just too darn busy. Now this is a homepage!

Posted by Dan Allen on June 23, 2003 at 10:37 PM MDT #

  • Soothing Suns
  • Warm dusks
I agree with Dan, leave the techy names, it's not representative of your work :-)

Posted by Damien Bonvillain on June 24, 2003 at 01:12 PM MDT #

Are those compression filters custom written, or from some part of a library, or were they the ones that came with tomcat as part of the examples context? If their part of a library, which library? I ask because I'm also trying to enable compression on my personal server.

Posted by Paul Rivers on June 24, 2003 at 01:32 PM MDT #

The filter is integrated into Roller - I'd send you a link to the CVS source, but I can't get to SF's CVS. Looking at the source code, it looks like it used this CompressionFilter.java as an example.

Posted by Matt Raible on June 24, 2003 at 01:48 PM MDT #

Here is the CVS link: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/roller/roller/src/org/roller/presentation/filters/CompressionFilter.java Comparing the code, it's almost the same, with imports unfolded and logging added.

Posted by Damien Bonvillain on June 24, 2003 at 02:05 PM MDT #

Did you do any testing to see if enabling the compression filters worked?...ok, I submitted it at http://www.xcache.com/home/default.asp and they sent me a report - apparently, your home page (today) is 28793 bytes uncompressed, but compressed its 7697 bytes (That's 73% smaller). Nice! I bet that cuts down on those pesky bandwidth costs. ;-)

Posted by Paul Rivers on June 25, 2003 at 02:06 AM MDT #

Thanks Paul - I submitted this site and received the same report (colors only work in IE). Very cool!

Posted by Matt Raible on June 25, 2003 at 05:54 AM MDT #

Barney :P

Posted by Unknown on June 25, 2003 at 03:15 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries

Tag Cloud