• Resolved evette23

    (@evette23)


    Does this minify the combined js codes by stripping out the comments and white space? The js files are combined but the output code still contains the original comments and white space.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi evette23. MMR will merge the files first and then minify them in the background. Once the minification process is finished then the minified versions will be spat out. You can see when the process is queued and when it is finished on the settings page.

    Thread Starter evette23

    (@evette23)

    i just checked the log, seems there’s no minification done in the background. i could be wrong but here is the sample log->

    2016-10-05T09:55:05+00:00 – MERGED:
    – core_global – /wp-content/folder/corej_global.js
    – jquery-core – /wp-includes/js/jquery/jquery.js
    – jquery-migrate – /wp-includes/js/jquery/jquery-migrate.min.js – unminified version used

    Plugin Author launchinteractive

    (@launchinteractive)

    I have had some sites not playing nice with WordPress Cron. You can investigate if the cron events are being added by installing the wp-crontrol plugin or try using WP Cron Alternative by adding this to your wp-config.php: define(‘ALTERNATE_WP_CRON’, true);

    Thread Starter evette23

    (@evette23)

    arh.. silly me.. enabled wp-cron and now all works well as expected.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Js comments not stripped and minified’ is closed to new replies.