CSS Joiner is a realtime CSS optimizer, you may use in your web site/application to minimize CSS code returned from your web server. Multiple local or external files can be loaded just like single CSS file - using single <link> tag (one server request). Caching system is available for faster responses - generate and save compressed CSS code once, until change in source CSS files is done.
Enter URL paths to source CSS files you want to parse. Please type each URL in single line:
Version 1.0 - May 15, 2010
For security reasons local files with .css extension only can be parsed. By default it's valid rule for external files. There are several external files settings defined and described in index.php file.
To parse all .css files in a directory in your site (e.g. /css):
<link href="/css/" rel="stylesheet" type="text/css" />
The files will be parsed in alphabetical order. You may rename CSS files for wished parse order. For example you can add numbers at the beginning of the file names.
For selective files parsing you may add to href attribute css GET parameters pointed to CSS files you want to parse. It's recommended to URL-encode these parameters. Example:
This example will parse folowing files if they exists and can be read in order they arranged in the URL:
If you want to use mod_rewrite URL style, you should upload .htaccess from CSS Joiner package to /css. The parsed CSS URL should be transformed to:
The files are separated by .. delimiter. You may change the delimiter editing /css/index.php. At the beginning of the file there are several configurable options defined as protected fields with commented descriptions.