• Resolved umbrellacover

    (@umbrellacover)


    Hello could somebody help me. Ive tried to look up older posts but i dont find a solution to mine. I have already checked the Inline and Defer CSS option and optimized my entire Cache-Autoptimize CSS Sheet (only) through the jonas.. Critical Path Generator. But still when my website loads, the CSS or perhaps JS (coz im a newbie), takes awhile and my website just looks empty and kind of stuck until the CSS loads.

    To answer what other stuff are checked:
    Optimize JavaScript Code
    Aggregate JS-files
    Optimize CSS Code
    Aggregate CSS-files
    Generate data: URIs for images
    Inline and Defer CSS (with optimized autoptimized css sheet listed in Above Folder)
    Optimize HTML Code?
    Enable 404 fallbacks?

    nothing else

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey umbrellacover ; I had a look just now and I’m not sure I see what you are seeing;

    More generally concerning performance; as you can see in above video it takes 6s for anything to happen, this is due to a long “server response time”, I think the first thing you need to do is install something to do page caching (could be a plugin such as KeyCDN Cache Enabler or Speed Booster Pack or WP Super Cache).

    Additionally Asset Cleanup is preloading an Autoptimize file that is not there anymore and is preloading as="font" which is not correct anyway, you might want to reconfigure that 🙂

    Regarding Autoptimize; I would (re-)enable “serve as static files”, it generally is the faster, better solution.

    hope this helps,
    frank

    Thread Starter umbrellacover

    (@umbrellacover)

    Hello, thank your very much for your fast response! Ive deactivated the entire Asset Cleanup, enabled Caching by Speed Booster Pack and enabled ‘Save aggregated script/css as static files’. There is still no changes. Even before i added the ‘Above the Fold’ files, my CSS always tend to load later. After using the Above the Fold method though, my mobile version cant seem to want to ‘accept’ or ‘cancel’ the cookie notification below. Only after all CSS loads, then its clickable. I thought by adding a shorter Above the Fold file, that it will do the trick and load CSS faster, yet it hasnt change a bit. As if ive done nothing at all..

    Thread Starter umbrellacover

    (@umbrellacover)

    I do understand that i have tons of animated things or alot of gallery slides that might slow the load page, making it 6 seconds to load. My problem is between Second 7 to 10 where the icon info box sliders are beeing shown. On Desktop it first only shows ‘Qualitätskontrolle’, after 3 seconds of waiting it shows all. On Mobile, it loads one by one down the screen but pops back up as a slider. Its just not fuctiontioning well. How can i make the CSS load first? Have i added something that forces html to load first?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    when using “inline & defer CSS” your CSS always loads late(r), so if you want to loads CSS early disable that, but at that point your CSS will be render-blocking.

    the alternative would be manually adding CSS to the above-the-fold-CSS to ensure all is fine when the site is first rendered?

    Thread Starter umbrellacover

    (@umbrellacover)

    Oh my, and i thought inline & defer CSS means load first. Im working through WordPress, Elementor and Woocommerce as you can tell. I just need that Info Box Slider (made through the plugin Premium Addons) and that animated Welcome Message ‘Hier glĂĽcklich..fĂĽndig..’ (made through the plugin Essentional Addons) to initially load. Im just guessing everything while creating this website. Must i add the css file of ‘Premium Addons’ and ‘Essentional Addons’ in some place public html file in the File Manager by my hosting provider?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    “inline & defer CSS” means load the inline (above the fold CSS) immediately and load the full CSS in a deferred manner (i.e. later).

    how did you create/ generate the “above the fold CSS”?

    Thread Starter umbrellacover

    (@umbrellacover)

    aha. i did that but it didnt change anything, but perhaps i did something wrong? i generated the css through https://jonassebastianohlsson.com/criticalpathcssgenerator/ and i took every single thing from https://www.mimok.ch/wp-content/cache/autoptimize/autoptimize_35821ca0b6b62af9d87af086d3aa98a7.php and generated it and placed it in the ‘above the fold’ box in autoptimize.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    it’s entirely possible you’ll have to tweak the resulting CSS manually to ensure all needed styles are there umbrellacover; most tools have problems with JS/ animation-driven content such as the one you’re using :-/

    Thread Starter umbrellacover

    (@umbrellacover)

    aha are my ‘hier glĂĽcklich, hier fĂĽndig’, my info box slider and my items slider all JS driven and not pure CSS? Im very new to this and it could be i just got crazy using my learnt abilities but didnt realize, this will cause lots of slow loading.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    sliders generally are JS-driven indeed 🙂

    Thread Starter umbrellacover

    (@umbrellacover)

    Ohh great to know that.. I think it will be better to do less than too much even though i had a visual plan on how my website should look like, but since i dont have knowledge for tweaks, i guess i will change my layout a little for the time beeing. Thank you very much for guiding me

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘CSS not loading initially even after Above the Folder optimization’ is closed to new replies.