{"id":17867006,"date":"2024-07-03T18:27:46","date_gmt":"2024-07-03T18:27:46","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/esi-and-private-cache-problem-with-logout-nonce\/"},"modified":"2024-07-03T18:27:46","modified_gmt":"2024-07-03T18:27:46","slug":"esi-and-private-cache-problem-with-logout-nonce","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/esi-and-private-cache-problem-with-logout-nonce\/","title":{"rendered":"esi and private cache problem with logout nonce"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In the header, there is a WooCommerce log out button for users.<br \/>This button creates a different nonce for each user.<br \/>But when esi is activated, it seems that there is no private cache anymore.<br \/>And the nonce is the same for all users, because it is cached.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Question:<br \/>Is there any other way besides converting the logout button to esi?<br \/>Because if it is cached privately for each user, there will be no problem and there is no need to load every time without cache.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or the only way is esi?<\/p>\n","protected":false},"template":"","class_list":["post-17867006","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17867006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17867006\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17867006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}