Hi @tynanbe, thank you for your reply. I will investigate it further, but basically without esi and caching for the page, the nonce is fine. With esi, there is a space. I will try to add trimming on the esi callback. I will also try testing with the default wordpress theme and report back with the results.