diff --git a/ChangeLog b/ChangeLog index d77d4631..b38058cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -115,6 +115,9 @@ with clicks on files. * Added ability to hide "Upload To" menu item if no storage modules setted up in modules.json. +* From now any file minifying only if last modified +time was changed. + 2012.12.12, Version 0.1.8 diff --git a/json/config.json b/json/config.json index 9a289e50..cab6133b 100644 --- a/json/config.json +++ b/json/config.json @@ -3,7 +3,7 @@ "appcache" : false, "cache" : false, "minification" : { - "js" : false, + "js" : true, "css" : false, "html" : false, "img" : false diff --git a/lib/server/minify.js b/lib/server/minify.js index dc70a546..389ab5a1 100644 --- a/lib/server/minify.js +++ b/lib/server/minify.js @@ -67,6 +67,7 @@ console.log(pName); pParams.callback = null; + pParams.name = pName; if(pParams.request && pParams.response) main.sendFile(pParams); }