Wordpress LScache Plugin: ESI ? Divi et_frontend_nonce Line Break
Last Updated on: Wed, 15 Apr 2026 00:00:02 Using the ESI feature causes javascript errors in Divi due to a line break (EOF) being added where a registered nonce is found within the pages html, resulting in Unexpected EOF error. EOF Error Screen Shot LS Cache Nonce List It seems like this ESI Nonces is being added with a preceding line break perhaps? Hi, Could you please share steps for how to reproduce/trigger this error so we can further investigate it ? Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards, ..right, so you take 3 weeks to respond to the post but you close it because i didnt respond in 6 days.. You can reproduce it by turning on ESI?. Divi outputs a variable called et_pb_custom which contains a heap of stuff including a nonce called et_frontend_nonce. As per the second screen shot, this nonce is included by default in the list of predefined ESI nonces. When you turn ESI on, as per first screen shot, the format of the variable is broken (by adding a line break before the nonce) causing javascript errors?. unexpected EOF Hi, my apologies I was off the grid for while due to some family matter. for the nonce issue , I could not reproduce it on a clean newly installed WP with Divi and LSCWP , please provide some more specific detail for how exactly to reproduce/trigger the issue Best regards, Hi I have done some detailed investigation and I must apologise. It turned out that an empty line before the opening
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference