JavaScript and CSS Asset Management

In production environments, whether you’re using HTTP/1.1 or HTTP/2, JavaScript and CSS files should be both compressed, and concatenated into as few files as possible. Given that, here is a list of packages that can you can use to do compress and concatenate your files:

  • JSCompress (The JavaScript Compression Tool)
  • Minify (CSS and JavaScript minifier)
  • minifier (A simple tool for minifying CSS/JS without a big setup.)
  • matthiasmullie/minify (CSS & JavaScript minifier, in PHP)
  • uglify-js (A JavaScript parser, minifier, compressor and beautifier toolkit.)

Note

ownCloud doesn’t provide automatic JavaScript or CSS minification