• Resolved smgdarien

    (@smgdarien)


    Hello! Getting a Loading Failed error when Varnish Cache is enabled, are you using any ajax requests specifically that I can try whitelisting to fix the issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author storeapps

    (@storeapps)

    @smgdarien ,

    Would like to update you that Stock Manager for WooCommerce plugin uses WooCommerce REST API in AJAX calls (like wc/v3/products ) for fetching the products.

    Please do let us know if this helps resolve the issue faced by you.

    Thread Starter smgdarien

    (@smgdarien)

    I have excluded this URL from caching and any under /wc-api/ but still no luck, can you tell me the specific urls being used?

    Plugin Author storeapps

    (@storeapps)

    @smgdarien ,

    Could you please let us know whether you are using any varnish cache plugin, if yes then please share the screenshot of the settings to whitelist AJAX calls so that we can help you in a better way? Also, could you please check and confirm whether AJAX calls from WooCommerce are working properly or not?

    Also, alternatively, you can try the fix given here for whitelisting AJAX requests, and do let us know if this helps.

    Thread Starter smgdarien

    (@smgdarien)

    Yup I’m using this plugin https://www.ads-software.com/plugins/varnish-http-purge/

    I have these whitelisted

    ^/my-account
    /cart
    /checkout
    ^/wp-admin
    ^/wp-admin/admin-ajax.php
    /wp-admin/admin.php?page=stock-manager
    /wp-admin
    /?s=
    wp-login.php
    /?wc-api=
    /?wc-ajax=
    /?add-to-cart=
    ^/wc-api/
    /wc-api/
    ^/wc-api/v3/products

    Plugin Author storeapps

    (@storeapps)

    @smgdarien ,

    Can you also try to whitelist ^/wp-json/wc/v3/products URL also and then have a recheck with the Stock Manager for the WooCommerce plugin issue and let us know.

    If still the issue persists, then the issue could be specific to your site. So, would suggest you reach out to us from here, so we can help you in a better way.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Loading Failed’ is closed to new replies.