21 February, 2023 seen 2,019After a long period of doubts should I start testing and developing with Drupal 8, which stable version is not yet…
From Drupal Reports status page I noticed gzip is failing for js files error
The web servers configuration will need to be adjusted. In most cases make sure that the webroots .htaccess file still contains this section "Rules to correctly serve gzip compressed CSS and JS files". Certain default web server configurations (nginx) do not gzip HTTP/1.0 requests. If you are using cloudfront you will have to add metadata to the .gz files. There are some other options if using cloudfront.
For Nginx web servers there is an easy fix, adding just a few lines of code to the server block
here is the fix (source: Enable GZIP for CSS and JS files on NGINX server for Magento)
sudo nano /etc/nginx/sites-available/yourdomain.com
copy following under the server config
sudo service nginx restart