Script Compressor

4月 30th, 2008

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.

関連記事

  1. 4月 30th, 2008 at 19:49 | #1

    Great plugin.

  2. 5月 4th, 2008 at 17:47 | #2

    Thank you.
    I’ll keep making an effort.

  3. 5月 8th, 2008 at 19:56 | #3

    Do you have english version?

  4. 5月 9th, 2008 at 18:58 | #4

    Now this post is available in English.

  5. Kar
    7月 28th, 2008 at 23:46 | #5

    Hello,

    in the new version 1.4.1 is an error. the script
    remembers not the css deaktivated of compression. it is always activated

    thanks

  6. 7月 29th, 2008 at 02:10 | #6

    Crashed my CSS after doing an upgrade from 1.3.1 to 1.4.1
    I then deactivated, deleted and uploaded again. Made /wp-content/plugins/script-compressor/jscsscomp/cache writable and all’s OK
    Working with WP Super Cache 0.6.5
    For a while there I was cursing script-compressor

  7. 7月 29th, 2008 at 15:45 | #7

    I’m sorry for my mistakes…
    Now I’m working out them.

    Thanks everyone for your bug reports.

  8. Karl Heigl
    7月 29th, 2008 at 17:49 | #8

    hello,

    now in version 1.4.2 is another bug :-) the option “css compression” is deaktivated, but nevertheless active.
    thanks

  9. 7月 29th, 2008 at 18:19 | #9

    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).

  10. Karl
    7月 30th, 2008 at 00:58 | #10

    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!

  11. 7月 30th, 2008 at 19:08 | #11

    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…

  12. Jeromy
    7月 31st, 2008 at 04:15 | #12

    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)

  13. 7月 31st, 2008 at 22:03 | #13

    I’m sorry. I found a bug about .htaccess with WP2.5.1. Now I’m working out them.

  14. 7月 31st, 2008 at 23:45 | #14

    I released version 1.4.3.
    Please check whether it works.

  15. 7月 31st, 2008 at 23:57 | #15

    hi. Thanks for plugin

    perfect.

    Regards

  16. Karl
    8月 1st, 2008 at 00:15 | #16

    now with version 1.4.3 it worked perfect for me. thank you!

  17. Jeromy
    8月 1st, 2008 at 03:01 | #17

    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

  18. Jeromy
    8月 1st, 2008 at 03:18 | #18

    This is what was inserted into the .htaccess file – looks right to me:

    RewriteEngine on
    RewriteRule ^(.*)\.css /wp-content/plugins/script-compressor/jscsscomp.php?q=$1.css [NC,T=text/css,L]
  19. 8月 3rd, 2008 at 23:13 | #19

    If styles is removed though CSS files appear, the cache might be a cause.

  20. 8月 5th, 2008 at 16:01 | #20

    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.

  21. 8月 7th, 2008 at 19:45 | #21

    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.

  22. Read Wilfrid
    10月 16th, 2008 at 02:01 | #22

    CommentLuv 2.5.4 not working with Script Compressor 1.4.4!
    Can you resolve this problem?

  23. 10月 17th, 2008 at 23:50 | #23

    I see. I’m trying to resolve the problem…

  24. 10月 18th, 2008 at 20:18 | #24

    I released the version 1.5. Please input following into “Position of Javascripts” in the setting page :

    jquery
    commentluv
  25. Read Wilfrid
    10月 20th, 2008 at 01:25 | #25

    Thanks Regen. Much appreciated!

  26. KimHoon
    11月 29th, 2008 at 16:11 | #26

    Wonderful plug-in. but one thing.
    Coolplayer 1.9 is not working. how can i do?

  27. KimHoon
    11月 29th, 2008 at 16:15 | #27

    ^^ I just fix it.

  28. 1月 11th, 2009 at 09:56 | #28

    hello there,

    thanks for the wonderful plugin it works great.

    but i have few suggestions i can’t use plugin without them.

    1- is there any way to make all javascript appear in the footer instead of header, because look at this article
    http://www.prelovac.com/vladimir/wordpress-plugins/footer-javascript
    and
    http://developer.yahoo.com/performance/rules.html#js_bottom

    2- i checked the source it, appears it compress the javascript together, but css are not compressed together. i mean it doesnt appear that css comprssion works.

    i am using wordpress 2.7.

    thanks

  29. Greg
    1月 15th, 2009 at 08:39 | #29

    Hi,

    Can you please tell me how to exclude selected .js files from the wp_head compression?

    I mean I want to compress all JS from wp_head, but one of my scripts gets messed up and I would like to load it without compression.

    Thanks

  30. 1月 15th, 2009 at 18:37 | #30

    @I-MAN
    I will add a option which prints javascripts in the footer.
    And did you try “CSS compression method -> Composed”?

    @Greg
    There is no option which excludes selected javascripts. I will add such a option by the next version.

    I am busy for several weeks so the update might be delayed.

Comment pages
  1. 5月 4th, 2008 at 16:34 | #1
  2. 5月 4th, 2008 at 23:08 | #2
  3. 5月 5th, 2008 at 10:05 | #3
  4. 5月 13th, 2008 at 20:11 | #4
  5. 5月 13th, 2008 at 21:09 | #5
  6. 5月 21st, 2008 at 00:50 | #6
  7. 7月 23rd, 2008 at 20:09 | #7
  8. 7月 29th, 2008 at 16:30 | #8
  9. 7月 29th, 2008 at 19:34 | #9
  10. 8月 12th, 2008 at 16:00 | #10
  11. 12月 31st, 2008 at 11:15 | #11
  12. 12月 31st, 2008 at 17:30 | #12
  13. 2月 23rd, 2009 at 18:53 | #13
  14. 3月 9th, 2009 at 09:05 | #14
  15. 4月 13th, 2009 at 18:00 | #15
  16. 6月 11th, 2009 at 15:14 | #16
  17. 7月 6th, 2009 at 18:58 | #17
  18. 8月 12th, 2009 at 05:39 | #18
  19. 9月 12th, 2009 at 07:34 | #19
  20. 10月 20th, 2009 at 06:03 | #20
  21. 10月 20th, 2009 at 06:07 | #21