I tried changing php.ini and httpd.conf files but not luck. Even tried with .httaccess file in build directory no luck. The gz files are still served as javascript files.
Help needed.
I tried changing php.ini and httpd.conf files but not luck. Even tried with .httaccess file in build directory no luck. The gz files are still served as javascript files.
Help needed.
Try using the Network tab in Chrome (Chrome DevTools | Chrome for Developers) to verify that the HTTP Response Headers that are being returned by the server do contain the correct fields
Content-Encoding: gzip
and
Content-Type: application/javascript (for JS files)
Content-Type: application/wasm (for wasm file)