Support » Plugin: WooCommerce Side Cart (Ajax) » Twice calling wc-ajax=get_refreshed_fragments

  • omnigiga

    (@omnigiga)


    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 9 replies - 1 through 9 (of 9 total)
  • Plugin Author xootix

    (@xootix)

    Hi,

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

    Thanks

    sstefanov

    (@sstefanov)

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.