• I am having issue after installing the plugin.

    Now the site is calling wc-ajax=get_refreshed_fragments twice which is slowing down the website.

    Please let me know a fix for this.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author xootix

    (@xootix)

    Hi,

    I am working on a new update which will work without fragments.
    Kindly for few days.

    Thread Starter omnigiga

    (@omnigiga)

    Thanks

    Such an update would be a huge improvement! Do you have an estimated delivery time for this update?

    Plugin Author xootix

    (@xootix)

    Hello,

    I have updated the plugin not changed the version yet.
    Written the whole plugin again. It is much stable & fully customizable now.
    You need to re download the plugin in order to see the changes. I will be testing it for new users first.
    Let me know if you see any issue

    Thanks

    Cool. This applies to the premium version as well?

    I’ve tested the new version of the plugin and here is my setup and findings:

    -Woocommerce ajax cart fragments is disabled;
    -The plugin option Ajax add to cart is disabled;

    The plugin works with page reload just fine now, but it still makes a POST request to admin-ajax.php which adds even more loading time than it did before the update.

    Any suggestions?

    Plugin Author xootix

    (@xootix)

    Hello,

    Its a custom request from plugin.
    Unlike fragment request, it is called 0.2 seconds later after page loading is complete.
    It is like any other request, It only triggers after your website page is rendered fully.

    You can delay it using this filter or completely remove it by setting the seconds value to a higher number. You will still be able to see your cart, but if you make any changes in your settings, it won’t be reflected unless you add/remove item to cart.

    add_filter( 'xoo_wsc_cart_fetch_delay', function(){
    	return 1000; //1000 = 1 second
    } );

    @sstefanov
    Why would you want the whole page to reload on an add to cart? At least that’s what I take from your words “The plugin works with page reload just fine now…”

    @saens I don’t, but page speed is my primary concern for this website. By disabling the add to cart AJAX calls the page load time was reduced with about 1 second, which is 50% improvement.

    I also getting same issue it sending 2 ajax request gmrerix have 1.2 delay for each request route, is there anything we can do this ex- send this requests after page fully loaded or something
    Sat, 12 Sep 2020 07:25:15 GMT
    Sat, 12 Sep 2020 07:25:15 GMT

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Twice calling wc-ajax=get_refreshed_fragments’ is closed to new replies.