[wp-hackers] Minify Scripts and CSS and why it isn't completely
vprelovac at gmail.com
Tue Dec 23 16:09:47 GMT 2008
Jacob I must have missed something, but you seem to be referencing a
different plugin from PHP Speedy, possibly your own. Can you send more
If you have combined scripts that are correctly using the API that would
be great. In combination with putting the code to the footer will
hack a while ago
Regarding WP_Styles the main problem that is turning people off from
using it is that wp_print_styles is still not happening automatically
(like wp_print_scripts in wp_head) but you need to call it manually
(this goes from my memory and I think it's still not fixed in 2.7).
> I guess it has a little bit of black magic as well in the plugin. From
> what I can see, so I may need to actually run the plugin to see what it
> can do. My plugin however, extends the WP_Scripts and WP_Styles classes
> and combines those files, if at all possible. If the capability of WP
> Speedy is so much more, then I must strive to crush it with my own.
> Well, after some more considerable development and testing. Problem is
> that when you combine files, the CSS relative links to images no longer
> work correctly and therefore must be rewritten.
More information about the wp-hackers