[Bps-public-commit] r10476 - in CSS-Squish: lib/CSS
trs at bestpractical.com
trs at bestpractical.com
Thu Jan 24 14:39:41 EST 2008
Author: trs
Date: Thu Jan 24 14:39:41 2008
New Revision: 10476
Modified:
CSS-Squish/ (props changed)
CSS-Squish/lib/CSS/Squish.pm
Log:
r31378 at zot: tom | 2008-01-24 14:39:25 -0500
Add explanation about the benefits of this module as suggested by Richard Siddall
Modified: CSS-Squish/lib/CSS/Squish.pm
==============================================================================
--- CSS-Squish/lib/CSS/Squish.pm (original)
+++ CSS-Squish/lib/CSS/Squish.pm Thu Jan 24 14:39:41 2008
@@ -31,6 +31,10 @@
This module takes a list of CSS files and concatenates them, making sure
to honor any valid @import statements included in the files.
+The benefit of this is that you get to keep your CSS as individual files,
+but can serve it to users in one big file, saving the overhead of possibly
+dozens of HTTP requests.
+
Following the CSS 2.1 spec, @import statements must be the first rules in
a CSS file. Media-specific @import statements will be honored by enclosing
the included file in an @media rule. This has the side effect of actually
More information about the Bps-public-commit
mailing list