HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

marijnhaverbeke.nl/uglifyjs is down (alive again)*

This discussion is related to the Page Speed addon.
SS ✭✭
edited October 2011 in Vanilla 2.0 - 2.8
UglifyJS (NodeJS) remote compressing server is down.
Disable plugin while server is dead.
Tagged:

Comments

  • x00x00 MVP
    edited October 2011
    it only compressed when you make a change. the rest is cached. The solution could be just to allow it to fail silently and just not compress.

    grep is your friend.

  • I just downloaded https://github.com/mrclay/minify

    And put it in the plugin folder renamed minify.

    You can do

    define('MINIFY_MIN_DIR', dirname(__FILE__).DS.'minify' .DS.'min'); // load config require MINIFY_MIN_DIR . '/config.php'; // setup include path set_include_path($min_libPath . PATH_SEPARATOR . get_include_path()); require 'JSMinPlus.php'; ... $output = JSMinPlus::minify(file_get_contents($FilePath)); file_put_contents($CachedFilePath, $output);

    It is not as good as JSUglify. But it works. The PHP version of JSUglify is still under development.

    Perhaps you there could be a check that http://marijnhaverbeke.nl/uglifyjs is live and valid output.

    grep is your friend.

  • obfuscation can cause bugs, and that is what appears to have happened with the merge/split conflict.

    grep is your friend.

    422
  • SS ✭✭

    Down!

  • SS ✭✭

    Ok now.

Sign In or Register to comment.