Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CONCATENATE_SCRIPTS by default #737

Open
kadamwhite opened this issue Jul 10, 2023 · 1 comment
Open

Disable CONCATENATE_SCRIPTS by default #737

kadamwhite opened this issue Jul 10, 2023 · 1 comment

Comments

@kadamwhite
Copy link
Contributor

In Altis, we have HTTP2 and a strong caching layer. We've observed issues on several projects where the wp admin script concatenation caused 502 or 504 errors, sometimes dramatically slowing down the entire admin load times, because WordPress was trying to concatenate admin scripts using load-scripts.php

Setting CONCATENATE_SCRIPTS to false resolved this issue, and since we don't require the server side concatenation at all on Altis, should we set this to false by default in the CMS module config?

@rmccue
Copy link
Member

rmccue commented Jul 11, 2023

I think there's a ticket in Trac about doing similar in core, but unable to find it now. Last I recalled there were some potential compatibility issues but cannot remember what they were (or why they existed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants