JS & CSS Script Optimizer

Description

Features

  • Grouping several scripts into single file (to minimize http requests count)
  • Combine several CSS files into single files (with grouping by “media”)
  • Pack scripts using Dean Edwards’s JavaScript Packer or Minify (by Steve Clay)
  • Minify CSS files (remove comments, tabs, spaces, newlines)
  • Support conditional JS and CSS (html5.js, IE CSS, <!–[if lt IE 9]>)
  • Support JavaScript L10n / I18n (wp_localize_script)
  • Put JavaScript at bottom
  • Ability to include JavaScript and CSS files
  • Network / WPMU support

Requirements

  • Cache directory /wp-content/cache/ should be writable
  • This Plugin processing only those scripts that are included properly (using “wp_enqueue_script” or “wp_enqueue_style” function)
  • Read Including CSS & JavaScript
  • If any script fails and web-browser console shows errors you can add this JS to exclude list

For more info visit http://4coder.info/en/code/wordpress-plugins/js-css-script-optimizer/.

Screenshots

  • Plugin settings page
  • Ability to include JavaScript files
  • Ability to include CSS files
  • YSlow speed test before installation
  • YSlow speed test after installation

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

Works ok

conflicts with other plugins but mostly it works nicely, I just it to minification my javascript

Does the job

It works, but you most probably will have to play with the options to suit your needs.

works

Simple aun pero funciona, estaria bueno que pudiera seleccionar que archivos no se van a minificar.
Y la posibilidadd de borrar los que ya agregue

Read all 54 reviews

Contributors & Developers

“JS & CSS Script Optimizer” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.3.2

  • Added new JS paker “Minify” (by Steve Clay)
  • More comfortable admin options

0.3.1

  • Translated into Serbian language (by Borisa Djuraskovic)

0.3.0

  • Relative “Cache directory” path
  • Ready to translate (PO file added)

0.2.9

  • “wp_remote_get” methods exception was handled
  • Notices in WP_DEBUG mode are eliminated

0.2.8

  • Support JavaScript L10n (wp_localize_script)
  • Support conditional JS (html5.js, <!–[if lt IE 9]>)
  • Disable plugin when define(‘SCRIPT_DEBUG’, true);

0.2.7

  • Ability to change cache directory from the plugin settings
  • Default cache directory changed to “wp-content/cache/scripts”
  • Cache directory creation bug were fixed

0.2.6

  • Better compatibility with others plugins and themes
  • Support conditional CSS (IE CSS, <!–[if lt IE 9]>)
  • Dean Edwards’s packer was updated
  • Using “wp_remote_get” instead of “file_get_contents”
  • Do not pack JS which already packed
  • More correct (save) ordering

0.2.5

  • Better compatibility with other plugins (betta)
  • Plugin options updated
  • Some minor changes/fixes

0.2.4

  • Added WPMU / Network support
  • CSS compression bug has been fixed
  • Some minor changes/fixes

0.2.3

  • CSS compression has been improved
  • Ability to add CSS files only for logged in users
  • Some minor changes/fixes

0.2.2

  • Some cache problems are fixed

0.2.1

  • Some cache issues
  • CSS processing problems

0.1.7

  • Bug with options saving

0.1.4

  • Added helpful information
  • Some bugs are fixed

0.1.3

  • CSS grouping has been updated

0.1.2

  • Ability to include JavaScript and CSS scripts has been added

0.1.0

  • Release version!

0.0.2

  • Beta version of the JS & CSS Script Optimizer