Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

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 9 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 24, 2003 at 04:37 AM 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 07: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 07: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 07: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 08: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 08: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 11:54 AM MDT #

Barney :P

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

buy wow gold,cheap wow gold

Posted by wow gold on April 20, 2009 at 07:27 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed