CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CFStatic is a framework for the inclusion and packaging of CSS and JavaScript files for CFML applications.

CFStatic takes care of:

  • Minifying your CSS and JavaScript
  • Compiling your CoffeeScript and LESS CSS
  • Including your CSS and JavaScript in the correct order, with all dependencies satisfied
  • Adding sensible cachebusters to CSS image paths and CSS and JavaScript includes

Key features:

  • Minifies your files for you using YuiCompressor
  • Compiles your LESS CSS for you
  • Compiles your CoffeeScript for you
  • Dependency configuration through self documentation
  • Easy, zero-code, switching between inclusion of raw source files and minified files
  • Small API, only 4 public methods (including the constructor)
  • Built for production; no need for CSS and JavaScript file packaging in your build scripts, code can be put in production
  • Minified files are saved to disk, CF is not involved in serving the files


Other resources

Authors Blog :

Source :

Issues :