• Resolved florianmasson

    (@florianmasson)


    Hello i got some trouble setting up correctly cache for the whole site and all cases, i got some connected users and guests also so i dedided to activate only the public cache and serve the private parts through ESI, but apparently got FOUCs when reload the cart and most generally all the woocommerce subsecquent parts (cart / checkout / account) i understand why these parts cannot be cached but it’s like there is no optimisation at all and of any kind on these pages. Can you please provide me some help if you have a clue ?

    For the report i running on litespeed server hosted by Hostinger, i ran into some problems before like cache issues (LS didn’t want to Hit) but for now it’s gone. Also i found that when i enable the Mobile Cache option i got a 4500 error in the settings page, seems like LS cannot write ###Marker Mobile in htaccess, maybe a hostinger issue about permissions or so (I don’t need mobile cache i guess, but that was only for testing)

    Report ID: IDZXQIBD
    (Tell me by email if you need temp access to website of logs export)
    Regards,

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you mean something like this ?

    as FOUC ?

    Best regards,

    Thread Starter florianmasson

    (@florianmasson)

    Yeah, and especially when adding something in cart apparently. Looks weird. And site is slow on the shop, opening product page, or switch categorie is like 5s each. And don’t know what i’m doin wrong but seems like there is a wrong option that messing up the cache

    Thread Starter florianmasson

    (@florianmasson)

    Hello just to tell you i change some settings and apparently works better, some improve can still be done, but there (imo) bdd issues cause hostinger don’t allow me to use redis on that server ..

    So i change this:

    • Private Cache: ON
    • ESI : OFF
    • ESI CART: OFF
    • Private CART CART: ON
    • CCSS Optimisation: ON

    Regards

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    the screenshot I took , was with LSCWP optimizaiton bypassed

    and if you think

    but seems like there is a wrong option that messing up the cache

    try , go to toolbox -> import/export -> export your current setting , then reset to default , see how it goes

    Best regards,

    Thread Starter florianmasson

    (@florianmasson)

    Ok i’ll give it a shout.
    I got some weird results on some shop pages only appened on some pagination pages (when change page number on archives).

    For example go to https://thenicestguys.com/shop/sneakers/air-jordan/air-jordan-1/
    And click on page 2 then page 3.

    Thanks for giving me some advice if you got a clue.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    it gives me bunch of 404 error on data JS , try disable cloudflare first to see how it goes

    I have seen cases that some CF WAF rule reports this as error and block it

    also try disable the JS defer

    Best regards,

    Thread Starter florianmasson

    (@florianmasson)

    Ok i cant’t disable it atm cause of hostinger (one more time) they god maintenance on the cloudflare module (so might be unstable) just to mention, id search a bit around and found that i got a bunch of pages in crawler blacklist, and every entry of this list lead to this error mentionned above. So i clear the blacklist and disable the crawler cron, apparently the blacklist appened on my crawler number 4 which is the crawler for connected users. Once these option disable all run as expected (i guess).

    Waiting for your return to determine what was the issue or if you need further info, lmk.

    Regards

    Thread Starter florianmasson

    (@florianmasson)

    I’ll try to disable CloudFlare soon, during the night cuz of the dns changing.
    I still have some issue on only 1 or two product of a given shop category, did you really think cloudflare is in cause ?

    Thread Starter florianmasson

    (@florianmasson)

    Just to provide some complementary info, on the shop i got trouble on product of a given category (apparently only on the air jordans 1 mids).
    I got this error again on ALL product of this category, can you please help investigate in this ?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you mean the FOUC ? or it stick that unstyle way forever ?

    from what I see, there is something else doing async CSS besides LSCWP

    the page was accessed with query string /?LSCWP_CTRL=before_optm this will literally make page load like LSCWP was never installed

    Best regards,

    Thread Starter florianmasson

    (@florianmasson)

    Yeah i know what, you meean if you go on pages without optimization enable (e.g /?LSCWP_CTRL=before_optm) but the problem i mentionned above is like Forever Fouc (the bunch of 404 error), i disable cloudflare but error still there, it appears only on the Air Jordan 1 Mid in the shop, so might be a cache issue for now as i got nothing else (except some other plugins).

    REPORT : IDZXQIBD

    Plugin Support qtwrk

    (@qtwrk)

    is it easy reproducible ?

    Thread Starter florianmasson

    (@florianmasson)

    I dunno it’s the first time facing this kind of issue, i think it’s related to Cache but not sure at, all, do you want me to give you access with the login feature on LSCache ?

    ATM i trying migrate this site on another Server (Azure) and then try reproduce it, this new server running on OpenLiteSpeed.

    I’ll update you about this.

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

The topic ‘FOUC on Woocommerce’ is closed to new replies.