ResolvedPopUp always load and Cache system in Kinsta Hosting provider
- This topic has 7 replies, 3 voices, and was last updated 7 months, 2 weeks ago by
Alex.
- AuthorPosts
- October 12, 2022 at 9:23 pm #35621
jose
ParticipantI 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.
October 14, 2022 at 1:42 pm #35648Althemist
KeymasterHi jose,
Our lead developer Alex will step in and give you an answer shortly.
October 14, 2022 at 1:46 pm #35650jose
ParticipantOK, we wait for Alex’s answer
October 14, 2022 at 6:32 pm #35665Alex
KeymasterHello jose,
We need some time to investigate. Will give you feedback in a couple of days latest.
Regards,
AlexOctober 14, 2022 at 6:36 pm #35666jose
ParticipantOK, Alex
October 15, 2022 at 6:00 pm #35684Alex
KeymasterHello 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,
AlexOctober 17, 2022 at 6:24 pm #35728jose
ParticipantOk 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;
}October 18, 2022 at 9:28 am #35732Alex
KeymasterHello Jose,
That’s great. Thank you for sharing the solution with us and the others.
Regards,
Alex - AuthorPosts
You must be logged in and have valid license to reply to this topic.