New Plugin: Minit

Minit plugin for WordPress that combines CSS and Javascript filesMinit is a WordPress plugins that combines (concatenates) all CSS and Javascript files that are enqueued using proper wp_enqueue_script and wp_enqueue_style methods. It also detects external Javascript files and loads them asynchronously in theme footer. Finally, it monitors the last modified time of all files and includes that information in the combined filename for proper cache invalidation.

Minit doesn’t minify combined files for readability and performance reasons. You can see this plugin running on this blog. Thanks Geir for testing the plugin on his blog.

2 Comments

Justin Germino Mar 26, 2013, 21:59

You say in the last paragraph “Minit doesn’t minify combined files for readability and performance reasons” why would you bother minifying if not for gaining better performance/load times?

Kaspars Mar 26, 2013, 22:03

I was referring to the performance of the plugin itself, Justin. I should probably add a filter that allows other plugins to minify and do whatever they want with the raw CSS/JS string before saving it to a file.

Leave a Comment