• Resolved kghugo2000

    (@kghugo2000)


    Hi,

    I want to know if Litespeed Cache can cache Ajax request from admin-ajax.php, as it will change the url with query string. Would it make a difference if I enable ‘Remove Query String’ in Litespeed Cache?

    Thank you for reading and your help.

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

    (@qtwrk)

    Hi,

    Technically yes, you can cache admin-ajax , but I wouldn’t recommend it.

    No , “remove query string” only affect on static resources, like JS , CSS files.

    Best regards,

    Thread Starter kghugo2000

    (@kghugo2000)

    I see. Thanks! Is REST API a better option for Ajax request in WordPress?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    It depends , may or may not be better , but you will have to test it ??

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can litespeed cache request from admin-ajax.php?’ is closed to new replies.