Skip navigation.

Help Improve the Markdown PortAll recent postsIs Nook Cannibalizing Store Sales?

Shinkansen, My New Project, Is Up On CodePlex

A couple of days ago I launched my latest project, Shinkansen, on CodePlex (overview and documentation).

Overview

In a nutshell, Shinkansen is a sever control + HTTP handler combo which allows you declare your JavaScript and CSS includes like you normally would, and have them:

  • HTTP compressed
  • Crunched (minified and so on)
  • Combined into a single download
  • Cached on the client

Most of these tasks you can perform on your own.

For example, you can configure HTTP compression in IIS. However, it's possible only if you have physical access to a web server and are allowed to edit the metabase (IIS6) or tweak IIS settings (IIS7) by hand.

You can minify JavaScript as a step of a build process, but how do you combine scripts, and how do you set cache expiration headers?

Having dealt with these disparate tasks before, I wanted to build a component to streamline it all.

Resources

As I mention in Resources, two books in particular were of great inspiration: High Performance Web Sites and Even Faster Web Sites. Much of the ideas from these books have been incorporated into the project.

Also, two Firefox add-ons were of great help: Google's  Page Speed and Yahoo's YSlow.

Feedback

Feel free to download binaries or source code and play. I will definitely appreciate suggestions and bug reports.

Comments

Comment permalink 1 Steven |
This sounds very promising. Good job!
Comment permalink 2 Wayne Brantley |
My solution for css that happens at design time and covers the combining, compression and Less integration.

http://blog.waynebrantley.com/2009/12/ultimate-automatic-stylesheet-combining.html
Comment permalink 3 Brian J. Sayatovic |
As a recent migrator from Java to .NET, I was missing Jawr (https://jawr.dev.java.net/). This seems to be the .NET equivalent. Thanks!
Comment permalink 4 Milan Negovan |
Brian, thank you. This would be a good approach for MVC.
Comment permalink 5 rob |
Milan, this is so totally great, I can't wait to use it on my next .NET project (some time next month) ... Probably going to mention this over on my employer's blog (http://blog.navigationarts.com), FYI
Comment permalink 6 Milan Negovan |
Thank you, Rob!

Emails and Notifications

Would you like to be notified when somebody responds to this post?  Would you like to have these comments emailed to you?

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):