• Hi, I am having an issue on the front while filtering.

    After parameter selection on the first filtering try, it takes too long to return the results. Sometimes the website freeze up and the browser returns an error.

    If the first time did not get freeze, on the second filter action it works OK.

    I have already added this code to functions.php

    add_filter( 'yith_wcan_suppress_cache', '__return_true' );

    I am using Litespeed caché. But I replicated the same issue whether it was On or Off

    Website link (the filter is located at the bottom)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Giuseppe Madaudo

    (@askmagic)

    Hi Augusto,

    the website is in maintenance mode so I cannot check the provided link.

    Thread Starter Augusto Gentile

    (@agugentile)

    Hi Giuseppe, thanks for your reply.

    Try here on the dev site, please

    LINK

    Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well :D.

    I checked the browser console and seems the site make a request to all resources each time you apply a filter, probably it’s because it’s loading again the entire page with all resource + the request.

    Please, try to add the following code in the functions.php of your active theme and see if it improves the loading time

    if( ! function_exists( 'yith_wcan_content_selector' ) ){
        function yith_wcan_content_selector( $selector ){
            $selector = '#main-content .product .et_pb_column.et_pb_column_4_4.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child';
            return $selector;
        }
        add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' );
    }

    Plesae, try it and let me know.

    Have a good day.

    Thread Starter Augusto Gentile

    (@agugentile)

    Hi, thanks!

    It has a better performance now.

    I really appreciated it

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filter Crashing Website’ is closed to new replies.