Quick Cache (Speed Without Compromise)
Caching calls to wp_admin/admin-ajax.php? (3 posts)

  1. extrakun
    Posted 3 years ago #

    Is there anyway to use this plugin to cache calls to wp_admin/admin-ajax.php, without having to cache the entire admin?


  2. Kimberly
    Posted 3 years ago #

    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.

  3. extrakun
    Posted 3 years ago #


    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.