
gzip_types는 Apache 서버에서 HTTP 응답을 압축하는 데 사용되는 모듈입니다. gzip_types를 설정하면 Apache 서버가 특정 타입의 파일을 압축하여 클라이언트에게 전송할 수 있습니다.
gzip_types를 설정할 때는 다음 옵션을 사용할 수 있습니다.
- text/html
- text/css
- text/javascript
- application/javascript
- application/x-javascript
- application/xml
- application/xhtml+xml
- text/xml
- application/json
이러한 옵션을 설정하면 Apache 서버가 해당 타입의 파일을 압축하여 클라이언트에게 전송합니다.
mod_deflate는 Apache 서버에서 HTTP 응답을 압축하는 데 사용되는 모듈입니다. gzip_types와 mod_deflate는 같은 역할을 하지만, mod_deflate는 gzip_types보다 더 많은 옵션을 제공합니다.
mod_deflate를 사용할 때는 다음 옵션을 사용할 수 있습니다.
- DEFLATE
- GZIP
- BROTHER
- ZLIB
mod_deflate는 gzip_types보다 더 많은 타입의 파일을 압축할 수 있습니다. 또한, mod_deflate는 gzip_types보다 더 많은 옵션을 제공합니다.
따라서, mod_deflate를 사용하는 것이 더 좋습니다.
2025-05-30 10:23