• Resolved lookfis

    (@lookfis)


    Hello,

    I am trying out vary rules to organize my woo store with EU (vat prices) and non eu. Also have several currencies and languages using wpml. I am trying to create caches for each so that everybody could get a hit ( speed is good ) depending where they come from. Is this approach in htaccess is even right way to handle this task or its a bit over the top and need to simplify or need different tools entirely?


    Problem i have, i cannot warm the caches using OLS crawler.

    in lscache crawler cookie simulation :

    Cookie Name – lsc_region
    EU
    NON_EU
    _null

    Cookie Name – wcml_client_currency
    EUR
    USD
    _null

    And the result i get :

    clean incognito all cookies cleared.

    USA VPN (First manual test – “warming” cache):

    /ar/shop → HIT ✅ (crawler already warmed this)
    Product 12258 → MISS ❌ (visited once in shop)
    Product 11225 → MISS ❌ (visited once in shop)

    Canada VPN (Second manual test – benefiting from USA test):

    /ar/shop → HIT ✅ (crawler warmed)
    Product 12258 → HIT ✅ (USA test warmed it)
    Product 11225 → HIT ✅ (USA test warmed it)
    Product 11385 (NEW) → MISS ❌ (not visited, not warmed)

    Third test cleared incognito

    New untried link → HIT ✅ (crawler had already warmed this specific URL) and the rest miss unless 12258 or 11225 or shop, then its a hit.

    So following this it seems only first visit gets a warmed cache and the rest, some cookies kick in and i do not get the warmed cache?

    So far i think the vary rules work, but my simulation for crawler has some flaw?


    Also another side effect when using this setup, occasional hang with page loading both for admin (no-cache) and for guest content all blank and after like 40s it loads, or loads normally when stopped and refreshed. how to debug this, perhaps its object cache misbehaving ?

    Report number:

    FSMNSVYP

    • This topic was modified 3 months, 2 weeks ago by lookfis.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.