Hi, Ionut, i had exact similar issue.
1- Check that all of your js/css assets are gzipped and sent to your dist/public folder
2- The `threshold`argument from the `CompressionPlugin` function specifies how big the asset has to be before being processed ie 10240 in the given example. So if you have js file under this number it won’t gzip.
Hope this helps!