Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 510045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:04:24+00:00 2026-05-13T07:04:24+00:00

At a glance they seem to be pretty much the same solution to the

  • 0

At a glance they seem to be pretty much the same solution to the same problem, but Jammit must have some key difference or improvement that I haven’t picked up on, or its author would have just used asset_packager. 🙂

Can anyone enlighten me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:04:24+00:00Added an answer on May 13, 2026 at 7:04 am

    Sure. Here’s some of the main differences:

    • Instead of using simple Ruby-based CSS and JS minifiers, Jammit makes it easy to use either the YUI Compressor or the new Google Closure Compiler to compress your assets.

    • Instead of having to specify each file individually, Jammit uses an ordered list of directory globs to define an asset package. This means you can say things like: give me jQuery first, then everything in vendor, then all my models, then all my UI…

        workspace:
          vendor/jquery.js
          vendor/*.js
          models/**/*.js
          view/workspace/*.js
    
    • Jammit supports JavaScript Templates, so whether you’re using Prototype or Mustache or Underscore templates, you can maintain your JavaScript views right alongside your Rails views, and have them bundled into a single package, available in the browser.

    • Jammit supports image embedding, using Data-URIs for browsers that support them, and MHTML for IE7 and below. Enabling it allows you to embed all of your UI chrome and small icons right into your CSS, so that instead of 50 HTTP requests, your browser makes just one.

    • When you install the gem, Jammit includes the jammit command-line utility, which you can use to prebuild all of your assets and pre-gzip them at the highest compression level. Gzipping at –9 gives us about a 30% reduction in size for our assets, over the default gzip –2 (which is closer to what you’ll get by default if you’re gzipping on-the-fly). You should be using both, but only gzipping on-demand for dynamic requests.

    Hope that helps with the differences — for everything else, there’s http://documentcloud.github.com/jammit/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Marionette provides two components named Regions and Layouts . At first glance, they seem
This might at first glance seem rather similar to this question , but in
This probably sounds like a terrible idea at first glance, but here is my
At first glance, the Service Locator pattern looks the same as the Abstract Factory
The compile error badges have stopped showing up on my source files but still
I'd like to have an app that offered an at a glance view of
So from a glance at hackage I can see 5 pretty printing libraries: good
At first glance, the Repeater control looks extremely powerful, but now I'm having second
One of my clients is asking if they can add some JavaScript to track
A quick glance at the present-day internet would seem to indicate that Adobe Flash

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.