?wc-ajax=get_refreshed_fragments - by ejder077

This topic has 6 replies, 2 voices, and was last updated 4 years ago ago by Olga Barlow

  • Avatar: ejder077
    ejder077
    Participant
    April 22, 2020 at 18:19

    May I ask what file is this?
    https://tenth-online-store.com/?wc-ajax=get_refreshed_fragments

    It is affecting the website speed and make it extremely slow.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 22, 2020 at 19:47

    Hello,

    It’s not a file, get_refreshed_fragments is AJAX request generated by WooCommerce to dynamically update the content of the cart.

    WPRoket has solution for this https://docs.wp-rocket.me/article/1100-optimize-woocommerce-get-refreshed-fragments

    Regards

    Avatar: ejder077
    ejder077
    Participant
    April 23, 2020 at 01:42

    Is the article asking me to upload this? https://ibb.co/SQVx0Hh
    Is this a plugin?

    There is also another article which suggests another plugin:
    https://docs.wp-rocket.me/article/999-disable-woocommerce-cart-fragments-ajax
    https://ibb.co/sbV3v1F
    It directs me to GitHub: https://github.com/littlebizzy/disable-cart-fragments/tree/1.3.0
    https://ibb.co/ZxXY7Kk
    Where to download this plugin?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 23, 2020 at 08:36

    Hello,

    There are a lot of plugis for these purposes, for example https://wordpress.org/plugins/disable-cart-fragments/ , and you may choose the one that suits your needs most of all.
    But if you disable cart fragments then we would not recommend you using number of products in your cart for the cart/wishlist icons http://prntscr.com/s4h1gy because you will have a problem with count there.

    Regards

    Avatar: ejder077
    ejder077
    Participant
    April 23, 2020 at 08:55

    I am confused. May I ask which one is cart fragments? How can I disable it?

    I disabled the header builder and using the traditional one now

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 23, 2020 at 10:30

    Hello,

    You asked us about get_refreshed_fragments (AJAX request generated by WooCommerce to dynamically update the content of the cart) and told that it slows down your site. I provided links to articles that explain what the cart fragments is and how to disable it if you don’t want to have it. Read them, please, to sort out. Also, I warned you that if you disable cart fragments then you need to disable counters at the cart/wishlist icons and maybe mini-cart/mini-wishlist dropdowns because probably they won’t work correctly without refreshing fragments. Sorry but I don’t know how to explain better. You may google more about get_refreshed_fragments to find other articles that explain to you more details about get_refreshed_fragments if my explanation is not clear for you. This is not our theme Ajax request, it’s also WooCommerce plugin Ajax request.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.