Wordpress LScache Plugin: ESI Nonce ? how to confirm?
Last Updated on: Wed, 15 Apr 2026 00:00:02 Ive been experimenting with the ESI nonce settings on my login form, but Im not sure how to confirm whether its doing anything. I still sometimes get nonce errors when logging in. First, in the PHP for the login form, I did this: do_action( litespeed_nonce, my_login_nonce ) wp_nonce_field( logging-in, my_login_nonce ) But this doesnt seem to work ? I often get an error when validating the login with wp_verify_nonce(). So now Ive entered my_login_nonce in the ESI config page for LSC. Im not convinced that this is any more successful. How can I check whether ESI is working with the nonce? Should I see anything in the HTML that shows that the nonce is being handled by ESI? Do I have to switch on the debugging output? Hi, yes, please enable the debug log , you should see something like 06/13/21 22:23:04.594 [111.111.111.111:51837 1 h8s] [ESI] Appended nonce action to nonce list [action] xxx 06/13/21 22:23:04.594 [111.111.111.111:51837 1 h8s] [ESI] Overwrite wp_create_nonce() in log Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference