Wordpress LScache Plugin: Mobile hamburger menu not expanding with litespeed cache active
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, We just built a new e-commerce website and have a problem with the mobile menu. When LiteSpeed cache is active the menu just start loading but never expands. The error we are getting is: /wp-json/jet-menu-api/v1/get-menu-items?menu_id=3&dev=false&lang=false:1 Failed to load resource: the server responded with a status of 403 () . We dont know how to reproduce the problem. The only thing we have learned is that it occurs after some time (atleast 1+ hours) with LiteSpeed Cache active. If we disable LiteSpeed cache plugin the problem never occurs. The site is responsive with jetmenu megamenu in a standard menu inside a header made with Elementor. Report number: PAYDYEJF The page I need help with: https://wafabike.com/ Hi, this is most likely a nonce issue please do a text search over that plugins file , looking for word restNonce , and please post me what you found Best regards, Found it in some places in the jet-menu plugins js file. Inside an ajax call. For example: https://i.imgur.com/KYx2mfQ.png I can send you the file if you want to. Hi, this is javascript code , I am looking for this keyword within a PHP code please try search it over PHP files of that plugin. Best regards, Ok found it in class-jet-menu-assets.php here: https://i.imgur.com/p9Klw0l.png Hi, okay , this is bit of weird though now please try go to Cache -> ESI , enable ESI, then add wp_rest into ESI nonce list , save and purge all , see how it goes Best regards, Did that and now it doesnt work at all. Hi, please create a ticket by mail to support at litespeedtech.com we will investigate it further Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference