• Resolved bethwombat

    (@bethwombat)


    We’re having an issue with a client’s site where a WP AJAX request is returning the JSON response extremely slowly when W3 is enabled (around 20 seconds). When W3 is deactivated and cache folder deleted, it then takes less than 1 second.

    We have tried disabling all the options under W3’s general settings which doesn’t fix the issue, which implies that W3 is still processing things even when all options are disabled, and cache has been fully purged.

    It appears to be related to the JSON response including img tags, as when those are removed from the JSON then the response time is quick, even with W3 enabled. As far as we are aware, the only thing in W3 that would effect img tags would be lazy-loading but that’s disabled on our site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @bethwombat

    Thank you for reaching out and I am happy to help!
    It’s challenging to troubleshoot the issue in this case. I am unable to replicate this behavior in any of our environments, and the W3 Total Cache, with all the settings disabled in the General settings, while still enabled, does not impact the performance at all.

    Are you absolutley sure that all settings in the General settins are disabled including the Miscellaneous and User Experience section?

    Can you also please share the website URL?

    Thanks!

    Thread Starter bethwombat

    (@bethwombat)

    Hi Marko,

    Yeah absolutely everything that can be disabled on the general settings page was disabled, the only thing we couldn’t disable by the looks of it is Opcode Cache as there is no option to turn it off (unless I’m missing something?). The caching options are currently turned on again because it’s a live site and this issue only affects a single feature.

    We’d rather the URL and data not be indexable forever so I’ve created a couple of pastebin links instead that expire in a month, hopefully that’s ok.

    Here’s the URL which should be run as a GET request via postman (or similar) to test properly, as if it’s run through the browser it’s also going to try and render all the included HTML and it’s just going to take forever. When run through postman it will take approximately 20s as W3 options are all enabled currently. https://pastebin.com/yBgihSyB

    And here’s a copy of the W3 configuration file from when everything was deactivated if it helps (sensitive data removed) https://pastebin.com/ibTKTVaf

    Let me know if you need any more details.

    Cheers,
    Beth

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @bethwombat

    Thank you for the clarification

    I need to check this with the team and try to replciate this.

    I’ll get back to you once I have more information

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Slow AJAX Requests’ is closed to new replies.