WordPressやPHPなどを主とするブログ
Script Compressor
WordPress プラグインの、Script Compressor を公開しました。
テーマや他のプラグインによって読み込まれるJavaScriptとCSSの圧縮を自動的に行うプラグインです。
ダウンロードはScript Compressor « WordPress Pluginsへ
変更履歴はダウンロードページで見ることができます。
Script Compressor is a WordPress plugin which compresses javascript files and CSS files loaded by the theme or other plugins automatically.
Download it in Script Compressor « WordPress Plugins.
The changelog is available in the download page.
Did you find this information helpful? If you did, consider donating.


hello,
now in version 1.4.2 is another bug
the option “css compression” is deaktivated, but nevertheless active.
thanks
The bug you reported doesn’t appear on my WordPress.
This plugin return “304 Not Modified” status code if not modified, so there might remain cache.
Please try super-reloading (Ctrl+F5).
Script Compressor
This plugin compresses javascript files and CSS files loaded by the theme or other plugins automatically. Extra spaces, lines, and comments will be deleted. The compressor is based on jscsscomp.
hello regen,
more precisely, there is a problem with the plug-in “wp-chgfontsize”. even if css from the compression turned off. with script vcompressor version 1.3.1 was not this
problem. please check!
I tried to install WP-chgFontSize 1.6 and it worked well with compressed JavaScript and CSS on my WordPress.
And it is available to turn off css compression.
I can’t find the problem…
Great stuff man! I’m using WP 2.5.1 and php5 and the script won’t compress the css, no matter which option I try. .htaccess file is writable. Any clue? It would also be nice to exclude certain .js files (as some won’t work after being compressed and plugins break)
I’m sorry. I found a bug about .htaccess with WP2.5.1. Now I’m working out them.
I released version 1.4.3.
Please check whether it works.
hi. Thanks for plugin
perfect.
Regards
now with version 1.4.3 it worked perfect for me. thank you!
still no luck, respective or composed, it just removes the styles completely for me. I view the source and it appears the css files are being combined, not sure what the problem is
This is what was inserted into the .htaccess file – looks right to me:
RewriteRule ^(.*)\.css /wp-content/plugins/script-compressor/jscsscomp.php?q=$1.css [NC,T=text/css,L]
If styles is removed though CSS files appear, the cache might be a cause.
I have had problems when installing 1.4.3, I think this is because the my htaccess file only has 644 permissions and somehow the cache folder seems to reset its permissions.
Are you using the auto-upgrading system of WordPress? It removes an old pluguin and installs the new one. I think this system resets the permissions.