Bypassing cache to disable AJAX
-
Hi
As using AJAX seems to add up to 500ms of load time to my site (based on speed testing sites showing a POST request to admin-ajax.php taking a while), I tried disabling it and checking in an incognito if my cache is storing the event ID value for Conversions API. Unfortunately it is caching event IDs.
I asked my hosting provider (Kinsta) if there’s a way they can disable caching of event IDs relating to Facebook Conversions API, and they asked if you have anything specific we could chain/connect to the request coming for that one so we can create a rule in Nginx and help bypassing the cache?
Since Kinsta offer caching on all sites themselves, I don’t have any third-party caching plugins installed to modify any settings on those.
Thank you
- The topic ‘Bypassing cache to disable AJAX’ is closed to new replies.