Node-jade-compress provides you with jade template filters that allow you to easily concatenate and minify/uglify your scripts and styles without an extra build step, and with support for CoffeeScript and Sass. Two custom jade filters are added to jade: compress_js and compress_css. These can be used in your jade templates by including a list of .coffee/.js and .scss/.css files respectively for each filter. When the template is rendered, a hash is created based on those filenames and the hash/filenames relationship is stored. The template renders a script or style tag pointing the user to a cache directory for the .js or .css file, that url includes the hash and the timestamp. Any requests made to a cache directory are intercepted to check if the compressed file is stale, and if not the cached file will be served up.