After the page is cached, the admin-ajax.php Code: 400




Wordpress LScache Plugin: After the page is cached, the admin-ajax.php Code: 400

Last Updated on: Wed, 15 Apr 2026 00:00:02
After the page is cached, the admin-ajax.php status will display Status Code: 400 The application that uses ajax will not work,when I cleared the cache of the page, admin-ajax.php returned to Status Code: 200 but after the page was cached again, it returned to 400 caching, admin-ajax.php requests will be blocked(Status Code: 400) how to solve it? Hi, Does it become 400 immediately after you cached it ? or after certain time like half day or a day ? and also please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, After a few minutes of cache , back to 400 Server caching using nginx does not block admin-ajax.php But openlitespeed + lsache will block it privacy reasons I dont provide Litespeed for my system information sry Is there any setting to solve this problem? Hi, I dont know , since you cant provide the report , but anyway, I would suggest you to reset to defualt setting first Best regards, If the plugin developers dont know, what should I do?. The settings are the default. I didnt adjust the settings for Ajax or any related settings and I found that code 200 ajax.php have this one is in response headers content-encoding: br Code 400 ajax.php The request did not Hi, Well , without providing more information, this is like you bought a car, then call the dealer says you got a weird noise comes out from my car, but you dont let dealer to inspect, so its literally impossible to know whats going on. I dont think the content encoding could be cause any issue , as matter of fact, if request doesnt have content-encoding header, one less thing to check around. May I know what are the full request header and response header on both cases ? Best regards, I reset the default settings again and clear the cache. If it still happens after a period of time, I will give you relevant information Hi, May I know what are the full request header and response header on both cases ? 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, After a long test,The only difference is 400 Ajax does not have content encoding: br In headers everything else is the same



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference