• Hello,
    I’m making a call to admin-ajax.php to pull Woocommerce products, this call is not being cached. i.e.
    “cache-control: no-cache, must-revalidate, max-age=0”
    I am not using nonce for this ajax call.
    How can I get the ajax call to also be cached? how can I control which ajax call gets cached and which is not?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately this plugin avoids caching anything in /wp-admin/ and definitely anything fetched via admin-ajax.php to avoid caching private information.

    Thread Starter Oded Talmon

    (@odedta)

    Hello,
    I understand, could you please recommend what to do? I don’t want to install a second cache plugin or replace this one, it’s really good!
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cache dynamic parts – AJAX calls’ is closed to new replies.