WordPress REST API, Expired Nonce from Cache results in 403 forbidden
My wordpress site sits behind Akamai, which is a cacheing service similar to Cloudflare. I make the following API call: GET /wp-json/mytheme/v1/get-posts?post_type=videos This is done using apiFetch from ‘@wordpress/api-fetch’; And it automatically includes this in the request header X-WP-Nonce: 12323423 This works fine until 24 hours later, when the nonce expires. The cache still continues … Read more