ResolvedPopUp always load and Cache system in Kinsta Hosting provider

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #35621
    jose
    Participant

    I have read the different posts that refer to cache problems and the PopUp branch selection and have carried out different tests with my Hosting provider (Kinsta). But we couldn’t solve the problem.
    My Hosting provider has tried excluding “wp_woocommerce_session_” from the cache so that when this cookie is present, the session is not cached. Deleting all the static cache is not possible due to system requirements.

    I wanted to ask if you can ask your developers more specifically what session or cookie needs to be excluded from the cache because the Home Page and the entire website cannot be excluded from the cache for performance reasons.

    #35648
    Althemist
    Keymaster

    Hi jose,

    Our lead developer Alex will step in and give you an answer shortly.

    #35650
    jose
    Participant

    OK, we wait for Alex’s answer

    #35665
    Alex
    Keymaster

    Hello jose,

    We need some time to investigate. Will give you feedback in a couple of days latest.

    Regards,
    Alex

    #35666
    jose
    Participant

    OK, Alex

    #35684
    Alex
    Keymaster

    Hello Jose,

    You are trying to exclude the right cookie. We store the branch related information selected by the user from the branch selecting popup in the “wp_woocommerce_session_*” cookie. Please make sure that you/they are excluding it correctly. You probably see that the cookie is starting with that string? This is not the full name. The name is random, i.e.: “wp_woocommerce_session_eb74007fc16df1757d835ab83bdec3bb” , so make sure you are using wildcard selection.

    Hope this helps,
    Alex

    #35728
    jose
    Participant

    Ok Alex, it seems that it is working correctly now.
    I leave the solution here in case someone else uses Kinsta and has the same problem:

    In the Ngnix rules you have to add

    if ($http_cookie ~* “wp_woocommerce_session_”) {
    set $skip_cache 1;
    }

    #35732
    Alex
    Keymaster

    Hello Jose,

    That’s great. Thank you for sharing the solution with us and the others.

    Regards,
    Alex

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register