Elliott C. Back: <3 Wendy Bug

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.

One Response to “Inlined CSS / Javascript WP Plugin”

  1. Rodolfo says:

    What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

Leave a Reply

Powered by WP Hashcash