• Resolved maxgorky

    (@maxgorky)


    Hi Salvatore,

    I get admin-ajax loaded for like 10 sec.
    I can see this plugin has something to do with it. Is there a way to adjust it to avoid such a long ajax loading?

    Thank you.

    URL: https://mydomain.com/wp-admin/admin-ajax.php
    Loaded By: https://mydomain.com/wp-includes/js/jquery/jquery.js:0

    Response:
    status: 200
    content-length: 282
    set-cookie: current_cur=USD; expires=Sat, 05-Jun-2021 23:23:18 GMT; Max-Age=31536000; path=/; secure
    cf-cache-status: DYNAMIC
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    vary: Accept-Encoding,User-Agent
    cache-control: no-transform, no-cache, no-store, must-revalidate
    x-wp-cf-super-cache-cache-control: no-store, no-cache, must-revalidate, max-age=0
    x-wp-cf-super-cache: no-cache
    x-turbo-charged-by: LiteSpeed
    pragma: no-cache
    date: Fri, 05 Jun 2020 23:23:20 GMT
    access-control-allow-origin: https://mydomain.com
    cf-ray: 59eda3cfab930977-IAD
    expect-ct: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
    x-xss-protection: 1; mode=block
    x-robots-tag: noindex
    x-content-type-options: nosniff
    content-encoding: gzip
    strict-transport-security: max-age=15552000; includeSubDomains; preload
    cf-request-id: 032864b5c900000977f4172200000001
    server: cloudflare
    access-control-allow-credentials: true
    referrer-policy: strict-origin-when-cross-origin
    x-frame-options: SAMEORIGIN,SAMEORIGIN
    x-powered-by: PHP/7.3.18
    content-type: text/html; charset=UTF-8

Viewing 1 replies (of 1 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @maxgorky ,
    as you can see from the following HTTP response header

    x-wp-cf-super-cache: no-cache

    WP Cloudflare Super Page Cache is not processing the ajax request, and this is correct as ajax requests are usually dynamic and should not be cached.

    The problem of slowness must be sought elsewhere. If the problem was with the plugin, you would find it on all pages as it processes them all with the same algorithm

    Let me know

Viewing 1 replies (of 1 total)
  • The topic ‘admin-ajax.php loading for 10 sec’ is closed to new replies.