Improve your website’s Y-Slow score
A faster website means happier users and can even improve your business’s bottom line. Cassette combines and minifies your assets into bundles. This results in fewer HTTP requests, reducing page load time.
Cassette bundles are served using the right HTTP caching headers and compressed to ensure optimal client download performance.
Bundle URLs include a hash of the contents, so a changed file results in a new URL. Your users will never have to clear their browser cache again.
Organize your application, your way
Cassette’s flexible configuration system lets you decide how to structure your assets. Use the simple, code-based API to define bundles by convention.
The bundle processing pipeline is fully customizable. It provides full control over how bundles are combined, minified and rendered.
Create cleaner code, faster
Automagic asset ordering
Don’t waste time maintaining that ever-growing file of scripts listed in the right order. Be explicit about each file's dependencies with handy reference comments, and let Cassette determine the correct order for you.
Alternatively, Cassette does offer a simple file format to explicitly order assets.
Simple “in-page” API
Reference the bundles your page view or partial requires using the simple Bundles helper class. Then tell Cassette where to render the HTML. It will generate all the script and link elements for you.
If you reference one bundle that requires another, Cassette knows to include both bundles in the generated HTML.
Easy Debugging & Production Performance
With a single configuration change for production deployment, Cassette will generate the optimized bundle includes instead. This requires absolutely no manual changes to your page source.
Manageable HTML Templates
Embedding HTML templates directly within a page is messy. Keeping each template in its own file makes projects much simpler to maintain. Let Cassette handle the embedding for you.