• Hi πŸ™‚

    1- Is there any way to backup autoptimize settings and optimization?

    2- When I enable the plugin below, autoptimize can’t work:
    https://ido.ww.wp.xz.cn/plugins/cloudflare-rocket-loader-ignore/

    When I enable it, there aren’t any autoptimize file loading on site. I checked with chrome dev tool and noticed there aren’t any autoptimize file loading.

    3- I disabled this option: Also aggregate inline JS , because of red sign. I want to know now which parameter on gtmetrix or pagespeed will decrease?

    Updated about #3: Ok, I noticed if I disable this option, my yslow score will drop from 95 to 90. This parameter will decrease: Minify JavaScript and CSS
    But still these parameters in pagespeed have 100% score: Minify CSS – Minify JavaScript

    So is there any way that autoptimize not being red but still I can enable Also aggregate inline JS?

    Thanks

    • This topic was modified 9 years, 2 months ago by Amir.
    • This topic was modified 9 years, 2 months ago by Amir.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Goossens

    (@futtta)

    1. there is no settings export/ import (yet) Amit.
    2. that seems to be a problem with that (apperantly no longer active) plugin. i can have a look at what it does if you activate it on your staging?
    3. the alternative is you keep “aggregate inline JS” and exclude specific blocks of inline JS from optimization that bust your cache.

    hope this helps,
    frank

    Thread Starter Amir

    (@repenter)

    Hey Frank, thanks for your message πŸ™‚
    Ok, I activated it on my dev website, you can see autoptimize not work anymore. Thanks.

    https://dev.ajibtarin.com/

    • This reply was modified 9 years, 2 months ago by Amir.
    Plugin Author Frank Goossens

    (@futtta)

    ah, now I see what you mean, there’s NO autoptimize to be seen anymore. this is an issue with the output buffer (which cfrli simply kills, see code below).

    as the plugin seems unmaintained (last activity 3 years ago, used on 100+ sites) I would run away from it, but if you insist you could try commenting out this part of the code in cfrli.php;

    
    register_shutdown_function('cfrli_flush_buffer');
    function cfrli_flush_buffer() {
    	ob_end_flush();
    }

    hope this helps,
    frank

    Thread Starter Amir

    (@repenter)

    Hey Frank, thanks a lot. Actually there isn’t any alternative for this plugin and add manually the codes of cloudflare is very hard πŸ™

    I commented out that part, but still didn’t work πŸ™

    Thanks man

    Plugin Author Frank Goossens

    (@futtta)

    well, there’s multiple instances of ob_get_clean (which also kills the output buffer), you could try switching those to ob_get_contents (cfr. http://php.net/manual/en/function.ob-get-contents.php)?

    but really; this is a problem with that plugin so this is just me taking a stab at things ..

    frank

    Thread Starter Amir

    (@repenter)

    That would be great!! Thanks a lot both of you guys πŸ™‚

    Thread Starter Amir

    (@repenter)

    And your solution worked Frank, but it made another autoptimize issues, So Ithink my best chance is to get this new rocket loader manager πŸ™‚ thanks and sorry to ask another plugin’s issue <3

    • This reply was modified 9 years, 2 months ago by Amir.
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Export Settings’ is closed to new replies.