Can i gzip-compress all my html content(pages)

后端 未结 6 1826
Happy的楠姐
Happy的楠姐 2021-02-05 21:35

I am trying to find out if there are any principles in defining which pages should be gzip-compressed and to draw a line when to send plain html content.

It would be he

6条回答
  •  情书的邮戳
    2021-02-05 22:03

    Unless your server's CPU is heavily utilized, I would always use compression. It's a trade-off between bandwidth and CPU utilization, and webservers usually have plenty of spare CPU cycles to spare.

提交回复
热议问题