WordPress.org

Plugin Directory

wiki:css-compress

CSS Compress

Automatically removes comments, new lines, tabs, and gzip compresses (GZIP) any CSS file called with "<?php bloginfo('stylesheet_url'); ?>" Just activating the plugin with the default Kubrick theme will reduce the CSS file from 8k to 1.7k.

  • Current Version: .3b
  • Author: Jeff
  • Support: WordPress 1.5

Installation

Installing CSS Compress is very simple:

  1. Download css-compress.php
  2. Upload css-compress.php into your wp-content/plugins directory.
  3. Activate the plugin through the WordPress admin interface.

Enjoy!

Usage / Caveats

The plugin will work automatically - you don't need to do any extra work.

It has been noted though, relatively referenced urls inside the style sheet may be problematic. If nedd be, the plugin will attempt to re-write all of the url() paths to a fully qualified path - this may not work right. If things break, please file a bug with the address of the blog and contact me via AIM chuyskywlk so that I can fix this.

Last modified 12 years ago Last modified on 03/07/05 17:56:19