Elliott C. Back: Technology FTW!

Inlined CSS / Javascript WP Plugin

Posted in Code, Performance, Plugins, WP, Wordpress by Elliott Back on September 23rd, 2006.

Disclaimer: Don’t use this plugin if you don’t use a caching product. It won’t work well for you, because you don’t care about performance on this fine grain. Using this plugin will hurt your page load time, because it does a large mess of string processing to spit optimized css and javascript into the page itself–processing usually defered to the browser.

css-js-inline.jpg

WP-CSS-JS-Inline does exactly what the graphic says–takes all the javascript and css styles and merges them into your page, producing a single document. External references in the CSS–say a url(…) element–are resolved automatically to absolute paths if they are not already. It also compresses and tidies CSS.

If you’d like to try it out, just download wp-css-js-inline.zip, unzip, and place into your wp-plugins directory. You can then activate it on your admin page, and watch it work its magic on your posts and home page.

This is an untested beta release and may render your wordpress install completely unusable. Proceed with caution, and leave comments on this post if you find any bugs!

This entry was posted on Saturday, September 23rd, 2006 at 10:52 pm and is tagged with page load time, zip unzip, caching product, tidies, plugins directory, beta release, external references, css styles, absolute paths, fine grain, js, caution, wordpress, wp, bugs, element, magic. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

Viewing 1 Comment

 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus