{"id":17560903,"date":"2024-04-08T22:08:39","date_gmt":"2024-04-08T22:08:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wordpress-nonce-cache\/"},"modified":"2024-04-08T22:08:39","modified_gmt":"2024-04-08T22:08:39","slug":"wordpress-nonce-cache","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wordpress-nonce-cache\/","title":{"rendered":"WordPress Nonce Cache"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I read your post https:\/\/www.wpfastestcache.com\/tutorial\/wordpress-nonce-cache\/.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You write that you need to set the cache timeout to 10 hours.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress sets the nonce lifespan to 24 hours by default.<br \/>https:\/\/developer.wordpress.org\/reference\/hooks\/nonce_life\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So is it really need to set cache timeout to 10 hours.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wouldn&#8217;t 20 hours be enough?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">david<\/p>\n","protected":false},"template":"","class_list":["post-17560903","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17560903","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\/17560903\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17560903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}