• Hello !
    Thanks mate for the plugin !
    i wondering if there is a possibility to add deferring capabilities to the minified js ?

    and other thing : it is possible to either have all the script name in the name of the minified file have simple script.js and style.css for the name ?

    Minified all the scripts and create a new file with all the srcipts minified in it then if there is this file cached already dequeue all the script and only load this one that contain all the scripts 🙂

    Thanks in advance

    https://wordpress.org/plugins/bwp-minify/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Hi,

    What is the advantage of having script.js and style.css as the name of combined files?

    Regarding the deferring capabilities, it might cause more issues than it could solve so I’m still considering that.

    Thread Starter JibsouX

    (@jibsoux)

    Hi 🙂

    Yes i understand for the deferring capabilities. But it will be a verry good thing to add for those how know how to use it correctly 😉

    the other thing is for clean code purpose either have a verry long sting with all the scripts names have the possibilitie to switch like with a checkbox, to a clean enqueue name 😉
    also it will be a good thing for sécurity purpose for those how whant to hide in there code that there using this or that plugin 🙂

    Thanks in advance 😉

    Plugin Author Khang Minh

    (@oddoneout)

    Aren’t we having the friendly minify url feature designed just for that 🙂 ?

    Thing is, files are combined into groups, and each group must have a kind of unique identifier, hence the md5 hash. Of course I can reduce the string even more, but is ‘minify-b1-group-name-hash.css’ really troubling you that much?

    Thread Starter JibsouX

    (@jibsoux)

    Hy sorry it’s that but this feature never work for me no matter what i try or do … it literally break the site style and scripts

    half the time when i refresh the script are not loaded…

    i have test in th default wordpress theme for a clean try but still same results ^^so i simply don’t use it :p

    Plugin Author Khang Minh

    (@oddoneout)

    OK I’m working on version 2.x of BWP Minify and when the beta is ready I will let you know so you can test.

    Thread Starter JibsouX

    (@jibsoux)

    Tx dude for all your work 🙂

    And for the deferring capability some guy made one but only for the css .. the important thing is nop to defer the css but the js, i think you can inspire yourself on it to add deferring capabilities for css and js 🙂

    https://wordpress.org/plugins/defer-css-addon-for-bwp-minify/

    peace bro !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clean name script’ is closed to new replies.