• Resolved homu9

    (@homu9)


    I have noticed a site always has a style not loading completely problem when logged in for a long time. It would be alright after refreshing.

    It’s easy to guess that something triggered the limit, but after the refresh it had cached some resources, so it was normal.

    I take a quick look at the network panel, there are a lot of scripts loading separately, but I haven’t set define(‘CONCATENATE_SCRIPTS’, false); in wp-config.php .

    After some disabling plugins and troubleshooting I found:

    /**
     * Due to bugs in the 5.5 core release concatenate scripts is causing errors.
     *
     * Because of this we disable it.
     *
     * @return void
     */
    public function disable_concatenate_scripts() {
        global $concatenate_scripts;
    
        $concatenate_scripts = false;
    }

    in wordpress-seo/src/integrations/admin/diable-concatenate-scripts-integration.php .

    Please take a look at whether this temporary fix still needs to be retained.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @homu9,

    Thanks for reaching out about disabling?concatenate_scripts()?. We have discussed this internally, and we are reviewing if it is still necessary after so long. I will share an update with you once there’s one.

    Plugin Support Jose Varghese

    (@josevarghese)

    Hi @homu9

    Thanks for your patience. We discussed this with our development team and would like to inform you that our team will try to remove this integration in the upcoming versions (mostly once after the release of v21.6). So kindly keep an eye on our changelog.

    This thread was marked resolved, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dashboad login slow due to CONCATENATE_SCRIPTS’ is closed to new replies.