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

    (@futtta)

    well, I can’t reproduce on my site(s), so at least it’s not a generic problem ??

    so some questions:
    * what theme are you using?
    * which plugins are active?
    * what AO options are you using?
    * how big is the cache size before clearing it (how many css and how many js-files?)
    * do you have a page cache (plugin or otherwise)?

    and lastly; can you share your URL?

    frank

    Thread Starter bffnb

    (@bffnb)

    Hi Frank,

    1.
    I deactivated a plugin called “script to footer”. Instead of the plugin i moved the scripts (jquery and so on) with a function in the functions.php to the footer…

    2.
    I cleared the cache of the chaching plugin called “Cachify”

    3.
    i checked my site again and again. At the moment it seems to work fine.
    If the problem comes back, i will send you a message.

    thx a lot
    best regards

    Plugin Author Frank Goossens

    (@futtta)

    don’t know “script to footer”, but AO moves the autoptimized JS to the footer (unless you have “force JS in head” active). from a performance pov you might get better results if you don’t rely on jquery & jquery-migrate being loaded from elsewhere, as in that case those are aggregated by AO as well.

    anyway, if all works fine now I’ll mark this “resolved” for now. feel free to reopen if the problem comes back.

    have fun,
    frank

    Thread Starter bffnb

    (@bffnb)

    Hi,

    today i deactivated 3 plugins at once. Cachify, cdn-linker and Ao. i made some s mall css changes and then activated all 3 plugins at once again. In this case my site lods extreme slow (gtmetrix)

    Than i deactivated only AO and reactiveted it – and everthing turns to normal!

    Any idea?
    best

    Plugin Author Frank Goossens

    (@futtta)

    from my previous list of questions;

    * what AO options are you using, what are your settings?
    * how big is the cache size before clearing it (how many css and how many js-files?)

    frank

    Thread Starter bffnb

    (@bffnb)

    hi,

    Settings on (just the following once checked or filled in):

    Optimize JavaScript Code?
    Optimize CSS Code?
    Also aggregate inline CSS?
    CDN Base URL – mycdndomain.com
    Save aggregated script/css as static files?

    20 files, totalling 9971 Kbytes (calculated at 13:12 UTC)
    2 CSS FILES
    3 Js Files – Ao only optimizes 1

    best

    Plugin Author Frank Goossens

    (@futtta)

    that’s a very limited amount of js/ css, don’t see a problem with that. can you share your site’s URL so I can have a look?

    frank

    Thread Starter bffnb

    (@bffnb)

    yes,

    the plugin works fine. But only after deactivating and activating it only.
    I will not share my url. If there is any way to debug it – i can try it if you tell me on wich direction i should go. im using firebug and can also turn of wp debug in the wp-config folder…

    Update:
    i turned on the wp debug – NO Errors (front and backend)! I think there must be a conflict or problem with wp by turning on more than on plugin with AO at the same time. In this case, the site performence slows down – gtmetrix shows, that EVERY request – ALso the FILES from my CDN takes over 5 seconds to LOAD – regardless how many tests i make.

    best

    Plugin Author Frank Goossens

    (@futtta)

    I think there must be a conflict or problem with wp by turning on more than on plugin with AO at the same time. In this case, the site performence slows down – gtmetrix shows, that EVERY request – ALso the FILES from my CDN takes over 5 seconds to LOAD – regardless how many tests i make.

    afraid that makes no sense, except if you have a totally empty cache (both page cache & ao cache.

    this is what happens when you request a page;
    1. if page is not in page cache, have WP construct it
    2. AO takes over, extracting and aggregating the CSS/JS.
    3. if for that aggregated CSS/JS, no optimized version is in cache, then AO will do the actual minification and store the result in wp-content/cache/autoptimize/
    4. AO injects the links to the cached optimized CSS/JS
    5. the page is cached in your page cache (cachify)

    This means that if a page is in cache, it will contain references to cached CSS/ JS. In this case neither WP nor Autoptimize are really called and all should fly as everything is served from cache (by your webserver without any code being executed, in AO’s case).

    If the page is not in page cache any more, AO will extract & aggregate and if available use cached optimized CSS/JS (which is not costly). Only if page cache does not contain the page and if AO cache does not contain optimized CSS/JS, will the (relatively costly) minification kick in.

    hope this clarifies,
    frank

    Thread Starter bffnb

    (@bffnb)

    ok – thanks.
    I will try to find the problem… if there is one. When i find anything i will notify you here.

    Thank you so much
    best

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problems after last Update – Reproduce’ is closed to new replies.