Hello nice plugin !!!
i wondering do you can make THE improvement : add a box like the options but this time one for : make script asynchrone : like : <script async>
Thanks a lot it will be the best : Minification + contatenage + asynchro loading
That's an advanced feature and can cause a lot of things to break, but sure I will take a look at it when there's spare time :).
yep it will be like an advance option ;)
by the way many peoples want to easily change the expiration date of the cache so it will be simple to make a box like for indicate how many minutes the cache will expire (manual setting)
me i change it dirrectly in the config.php
and in the same file you can improve the compression level like :
// try to disable output_compression (may not have an effect)
and an other thing, it is normal that some script put in the box (put script in footer) still are in the header.. ? do you have an idea to force them ? or what is blocking them ?
thanks a lot !
Currently you have to use script handles, not script filename. So instead of jquery.js you will probably have to put in something like 'jquery'. To look for script handles you can check a plugin's codes.
^^thanks i know that the thing is it work for :
But not for :
js (js.js of the plugin kk star rating)
Do you have an idea of why ?
mmm.. if the script are in base 64 ?
i will reconvert in normal js the script and test it
Nop it change nothing.. damn i dont understand why some scrip dont want to move in the footer.. :p
it's because some script have a part print dirrectly in the head with
so i change to : add_action('wp_footer'
i look if there is no break
then i put the handles in the option box and MAGIC it work !
One more thing how can y make a combo like isolated minification + put in footer..
because it does not work when i put the same handles in the 2 box option.
I made a hack to add async to all of the HTML script insertions. Note that this will add async to ALL of them, which may break your page.
class-bwp-minify.phpin the editor
function get_minify_tag($string, $type, $media = '')
thanks a lot ;) but a have made a custom version of the plugin that include the deferring of the minify script ;)
and y have add a setting to exclude a script of the deferring function ;)
and updated the library to by the way the plugin creator is working on a new version that include the deferring capabilitie
You must log in to post.