# 웹페이지 캐시 최적화

### ✅ 1. 이 기능은 활성화해도 될까?

**네, 활성화하는 것이 좋습니다.**

* `HTML`, `CSS`, `JS`, `XML`, `JSON` 등 텍스트 기반 리소스를 Gzip 압축으로 전송하여 페이지 속도 개선
* 대부분의 브라우저와 서버가 지원
* 서버 부하에는 거의 영향 없음
* SEO, 웹사이트 속도 평가(Lighthouse 등)에 긍정적 영향

#### &#x20;장점 (사용 권장 이유)

| 항목              | 설명                                                  |
| --------------- | --------------------------------------------------- |
| 🌐 페이지 로딩 속도 향상 | 파일 크기를 최대 70\~80%까지 줄여 **트래픽과 로딩 시간 모두 단축**         |
| 📱 모바일 최적화 효과   | 모바일에서는 특히 네트워크 대역폭이 적으므로 체감 성능 향상                   |
| 💰 트래픽 절감       | 압축된 콘텐츠 전송 → **트래픽 사용량 감소** (요금제 제한 시 유리)           |
| 📈 SEO 개선       | Google Lighthouse 점수 및 PageSpeed Insights에서 점수 향상   |
| 💡 설치 불필요       | mod\_deflate는 Apache 기본 모듈이므로 **별도 설치 없이 바로 사용 가능** |

***

### 🔧 2. 어떤 옵션을 선택하는 게 좋을까?

#### ✅ **"모든 콘텐츠 압축"** 추천

→ 가장 간단하고 확실함\
→ gzip으로 압축 가능한 모든 MIME을 자동 처리

### ✅ 3. 설정 방법

<figure><img src="/files/vmT6RftIKt5YQZQXDCWt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/cPgXbF51EuIR0YBMjvvL" alt=""><figcaption></figcaption></figure>

설정 업데이트시 자동으로 갱신되어 최적화가 진행됩니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://s-organization-887.gitbook.io/hostyle-web/undefined-1/undefined.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
