Title: Plugin doesn&#8217;t minify CSS nor JS
Last modified: December 21, 2019

---

# Plugin doesn’t minify CSS nor JS

 *  Resolved [Roman Cieciuch](https://wordpress.org/support/users/romancieciuch/)
 * (@romancieciuch)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/)
 * Hello there!
 * Just installed your plugin. It merges files like a charm, but it doesn’t minify
   them.
    I went through all the options and have set to minify files as well.
 * Please help.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12260504)
 * Hi Roman,
 * Do you have wp-cron turned off? The minification is done via a cron job after
   meeting. Also check of there are any errors in the logs.
 *  Thread Starter [Roman Cieciuch](https://wordpress.org/support/users/romancieciuch/)
 * (@romancieciuch)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12260866)
 * I think I have the cron turned on as the other plugins work properly.
 * How often does the minification process runs in your plugin’s case? Maybe I’ll
   wait that time.
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12263322)
 * Hi Roman,
 * When a Javascript or CSS file changes MMR merges the files and schedules a minification
   cron. It should execute as soon as it can. Normally this is within a minute but
   it may take some time depending on how many files need to be minified.
 * If there were errors minifying files then you will never see the minified versions.
   This is to avoid breaking the site at all. Please check the MMR logs to ensure
   there are no errors.
 * I have seem some plugins or themes that change javascript or CSS files on every
   page load. If this is the case for you then you will likely never see the minified
   versions.
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12291178)
 * Hi Roman,
 * We released a new version of MMR this week that improves the reliability of the
   minification. We also added an extra check every hour that will ensure files 
   are minified. Please give the new version a go and let me know if you still have
   issues.
 *  Thread Starter [Roman Cieciuch](https://wordpress.org/support/users/romancieciuch/)
 * (@romancieciuch)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12393376)
 * Guess what, it’ll be awesome if the plugin changes the minified filename when
   clicking Purge All.
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12395214)
 * Hi Roman,
 * Can you explain why you would need this?
 *  Thread Starter [Roman Cieciuch](https://wordpress.org/support/users/romancieciuch/)
 * (@romancieciuch)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12396043)
 * Of course 🙂
 * I am a web developer, I make changes to both CSS and JS files.
    If I want to 
   show them to the world – I click Purge All, and my files are processed.
 * But, if the filename isn’t about to change – nobody sees my effort.
 * As in .htaccess I have set for CSS and JS files expiration date for a month.
   
   So, if the filename stays the same – browser ain’t download the styles and JS
   again – it will serve it from its own cache = nobody can see my effort 🙂
 * I believe it is easy fix to make.
    Thank you.
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12400413)
 * Hi Roman,
 * MMR will change the filename whenever the file changes so you shouldn’t have 
   to purge MMR.
 * Do you cache the HTML? If so I think that might be the issue.
 *  Thread Starter [Roman Cieciuch](https://wordpress.org/support/users/romancieciuch/)
 * (@romancieciuch)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12400517)
 * Hello,
 * Ok, so how the MMR knows I made changes to the file?
 *  Plugin Author [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * (@launchinteractive)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12403533)
 * It is based on the last modified time of the files that are merged.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin doesn’t minify CSS nor JS’ is closed to new replies.

 * ![](https://ps.w.org/merge-minify-refresh/assets/icon.svg?rev=3414776)
 * [Merge + Minify + Refresh](https://wordpress.org/plugins/merge-minify-refresh/)
 * [Support Threads](https://wordpress.org/support/plugin/merge-minify-refresh/)
 * [Active Topics](https://wordpress.org/support/plugin/merge-minify-refresh/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/merge-minify-refresh/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/merge-minify-refresh/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [launchinteractive](https://wordpress.org/support/users/launchinteractive/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/plugin-doesnt-minify-css-nor-js/#post-12403533)
 * Status: resolved