Viewing 2 replies - 1 through 2 (of 2 total)
  • I thikn you can just append &qcAC=1 to a file and QC will create a cache for it. However that might only work for not caching..havent checked his code to see how versatile that option is.

    Besides that you could go inside the admin-ajax.php file and add define(“QUICK_CACHE_ALLOWED”, true); but that would involve messing with the core files which isnt recommended but i admit i’ve messed with the core many times (but i know what i am doing). Again, i havent tried that before.

    Thread Starter extrakun

    (@extrakun)

    Hi,

    Thanks for the response. Unfortunately, adding qcAC=1 doesn’t seem to work (I believe it made it worse…) I am using WebStressTester to call the ajax calls over 50 times, and using qcAC=1 seem to reduce the response time. I tried that without wp-admin.php inside the no-cache uri.

    I think the biggest issue is that admin-ajax.php loads a lot of the WordPress core. I tried using one of those ‘lite ajax script’ to do a custom ajax handler, but even so each ajax call is about 0.8 to 0.9 seconds.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Caching calls to wp_admin/admin-ajax.php?’ is closed to new replies.