How to make gzip work on 1and1 shared host WordPress site

前端 未结 6 2024
温柔的废话
温柔的废话 2021-01-05 02:15

YSlow is telling me that my css should be compressed, but after several hours of tinkering, I cannot for the life of me get gzip to work for my website. At this point, I\'m

6条回答
  •  感情败类
    2021-01-05 02:49

    Enable gzip compression
    The gzip compression can be activated in php.ini with the following code:

    zlib.output_compression = On
    zlib.output_compression_level = 9
    allow_url_fopen = On
    

提交回复
热议问题