Wordpress LScache Plugin: Cache REST API enable returned 500 error
Last Updated on: Wed, 15 Apr 2026 00:00:02 When enable Cache REST API option. Reset Api will return 500. but response looks like well If I disable this option. everything working fine! LiteSpeed Cache Version 2.9.9.2 Wordpress Version 5.3.2 Hi, Could you please check PHP error log and see if there is anything ? Best regards, I am having the exact same problem, cannot run my app with the Cache REST API option switched on. GET https://www.domain.org/wp-json/wp/v2/cpt/?per_page=100 is passing 500 error to the browser, and the error.log is saying: WARN lsapi Module:Cache vary request header Origin not defined! Just loading the URL in browser window works.. App is running off same domain, so cannot see how it could be CORs? How was this resolved? Any help appreciated. Thanks Hello, Same issue here. The API request works fine its just the status throws 500. Why is this happening? Thanks! Istvan Updating openlitespeed web server fixed this for me. If I remember correctly, the shell command was something like lsup.sh Hi @twobyte, thanks for your response. I updated LS but the issue still persists for me. Error.log & Access.log dont show any signs of errors dough. @CacheCrawler Can you please let me know what direction to proceed in detecting where the issue is. Thanks! Istvan Hi, sorry , kind of forget what was the issue. I think it was openlitespeed issue and update to latest should fix it /usr/local/lsws/admin/misc/lsup.sh -e 1.7.7 Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference