• Resolved takuya

    (@takuya)


    Here’s my environment.

    – Multisite
    – WP Super Cache network activated
    – Autoptimize enabled one of sites (not network activation)
    – Using The7 theme from themeforest

    When I activate Autoptimize (CSS/JS), page load slows down to 8 second in average, although page speed scores go up. When I disable the plugin, average page load is 1 second or 0.8 second. With Super cache’s preload, most pages are loded within 4 second.

    According to Pingdom Tools, I have 3 combined files

    One CSS weights 162.7 kB
    Another CSS weights 476B
    JS weights 99.5kB

    What advises could you give to a situation like this?

    https://wordpress.org/plugins/autoptimize/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hmm … Especially with WP Super Cache your site should fly, so something is not right.

    Do you have waterfall charts (as produced e.g. by webpagetest.org) with and without AO that I could have a look at and compare?

    Feel free to mail me at futtta at gmail dot com if you prefer not to give that kind of info in public.

    Thread Starter takuya

    (@takuya)

    Without AO
    http://tools.pingdom.com/fpt/#!/GCExr/http://kunitter.com/news/

    With AO
    http://tools.pingdom.com/fpt/#!/emiY3x/kunitter.com/news/

    I can’t retrieve Super Cache’s dynamic generation time at this moment.

    Plugin Author Frank Goossens

    (@futtta)

    Weird, when testing via webpagetest (Tokyo node, IE9 on cable), the AO-version is faster then one without AO (with ?ao_noptimize=1), compare http://www.webpagetest.org/result/140612_N6_BZG/ (AO, 9.8 until doc loaded) with http://www.webpagetest.org/result/140612_8W_F1E/ (without AO, 12.8 until document loaded).

    So based on that I’m not sure there is a problem?

    Thread Starter takuya

    (@takuya)

    Without AO
    Dynamic page generated in 0.901 seconds.

    With AO
    Dynamic page generated in 2.435 seconds.

    Just checked right now. But it took 8 second before… Anyway, AO is doing something which makes the page generation slow than without combining files.

    Plugin Author Frank Goossens

    (@futtta)

    Well, AO clearly does add to the loading time on every request (if you don’t have a page cache). The reason for the extra time is that AO extracts all CSS/JS from the HTML and if not in AO-cache yet, minify that aggregated CSS/JS.

    If you do have a page cache (WP Super Cache or similar), then as soon as a page is in cache, there should be no impact any more as both the page & the CSS/JS are served straight from cache).

    hope this clarifies,
    frank

    Thread Starter takuya

    (@takuya)

    I see, now I get the point why it loads slow.

    My Super Cache config is not to use cached content for logged in users, so when I’m logged in my site is slower than what others see. By reading your explanation, this is something I have to bear with.

    Plugin Author Frank Goossens

    (@futtta)

    Correct. I do have some ideas which could speed up non-cached-page optimizing (involving pretty major re-factoring of the way aggregation & minification is done), so that might improve when I get around to implementing those.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘8x slow response after enabling Autoptimize (CSS/JS)’ is closed to new replies.