After sharing Reduce Initial Bundle Size for CMS with my teammates, my team lead finds out the way to add compress response middleware for gzip content encoding. In this method, we don't need to add CompressionWrbpackPlugin to generate .gz
file or add compression module in our express server. Just add a configuration for Traefik middleware. Here are simple steps below.
User pays about 1~4 seconds for the page response.
User pays about 0~2 seconds for the page response.
Work
K8S