1

WP_AJAX includes no-cache headers with its responses. I'm using Ajax to fetch part of a shopping cart, which includes little image thumbnails. On each Ajax request, these are replaced and we can see them window-shading down, which looks wack and wastes bandwidth. Is there a way that those images can be cached without caching the whole response?

I can filter the headers, or adjust the Ajax call, or maybe do something downstream at CloudFlare, but this isn't my area of expertise and could use some help. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.