Open retlehs opened 6 months ago
Should we take it one step further to disable COMPRESS_SCRIPTS
, COMPRESS_CSS
and ENFORCE_GZIP
as well?
The CDN and web servers (e.g: nginx, apache, etc) should take care of those.
I started getting problems with this after updating nginx from 1.21.7 to 1.27.2. Not with timeout to load-styles.php like many people report but nginx would just return connection reset by peer.
Setting CONCATENATE_SCRIPTS to false solved the problem. Not sure why it happens but seems WordPress does something not compatible with latest nginx.
This PR sets
CONCATENATE_SCRIPTS
to false by default which prevents WordPress from concatenating scriptsRef https://discourse.roots.io/t/upstream-timed-out-for-load-styles-php/26973