Skip to content

deniskiriusin/combinatorius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Combinatorius — CSS and JavaScript concatenation tool.

Key features:

  • Combined files to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet.
  • Local caching of the combined files for even better response times.
  • Appropriate Expires and Cache-Control headers to help browser with conditional requests.
  • ETag support to determine whether the component in the browser's cache matches the one on the origin server.
  • Gzip compression to reduce response times by reducing the size of the HTTP response.
  • YUI Compressor support
  • Fingerprinting a.k.a static web resources versioning.
  • Themes support (set via URL parameter or cookies).
  • Flexible directory structure support.
  • Simple configuration, usage and deployment.

JSP tag:

<%@ taglib uri="https://github.com/deniskiriusin/combinatorius" prefix="cb" %>
<cb:combo type="css" path="${path}">
  <jsp:attribute name="theme">blue</jsp:attribute>
  <jsp:attribute name="csv_resources">extra_css/extra1.css,extra_css/extra2.css</jsp:attribute>
</cb:combo>