• Resolved kylie12

    (@kylie12)


    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?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support qtwrk

    (@qtwrk)

    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,

    Thread Starter kylie12

    (@kylie12)

    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 don’t provide Litespeed for my system information sry

    Is there any setting to solve this problem?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I don’t know , since you can’t provide the report , but anyway, I would suggest you to reset to defualt setting first

    Best regards,

    Thread Starter kylie12

    (@kylie12)

    If the plugin developers don’t know, what should I do….
    The settings are the default. I didn’t 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

    Plugin Support qtwrk

    (@qtwrk)

    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 don’t let dealer to inspect, so it’s literally impossible to know what’s going on.

    I don’t think the content encoding could be cause any issue , as matter of fact, if request doesn’t 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,

    Thread Starter kylie12

    (@kylie12)

    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

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know what are the full request header and response header on both cases ?

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m 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,

    Thread Starter kylie12

    (@kylie12)

    After a long test,The only difference is

    400 Ajax does not have “content encoding: br” In headers

    everything else is the same

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘After the page is cached, the admin-ajax.php Code: 400’ is closed to new replies.