본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2777

compression

하는 일

이 스킬은 HTML, CSS, 자바스크립트가 브라우저로 보내질 때 압축되는지 확인합니다. 페이지 전달을 더 빠르게 하려는 사이트 운영자와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓서버가 압축 없이 텍스트 파일을 보낼 때.
  • ✓느린 모바일 네트워크의 방문자가 페이지를 오래 기다릴 때.
  • ✓새 웹 서버나 CDN을 설정할 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/compression/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/compression/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 사이트가 HTML, CSS, 자바스크립트를 압축하는지 확인하고, 압축하지 않으면 Brotli나 Gzip을 켜 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 응답 헤더에서 gzip 또는 br 인코딩을 확인하고, 없다면 웹 서버나 CDN 설정에서 압축을 켭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Enable text-based compression

Compressed assets download faster, reducing the time to first paint and improving the overall perceived performance, especially on slower mobile networks.

Quick Reference

  • Use Gzip or Brotli to compress text resources (HTML, JS, CSS)
  • Brotli provides superior compression for modern browsers
  • Significantly reduces data transfer size and load times
  • Compression helps network cost, but it does not remove parse and execution cost from oversized bundles

Check

Verify that text-based resources are served with Content-Encoding: gzip or br headers.

Fix

Enable Gzip or Brotli compression in your web server (Nginx, Apache) or CDN settings.

Explain

Explain how text-based compression works and its impact on asset delivery speed.

Code Review

Review the routes, assets, and loading behavior that affect Enable text-based compression. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/compression

자주 묻는 질문

스킬이 언급하는 압축 방식은 무엇인가요?

Gzip과 Brotli이며, Brotli는 최신 브라우저에 더 좋다고 설명합니다.

압축으로 무거운 자바스크립트 번들도 해결되나요?

아니요. 압축은 전송 크기를 줄이지만, 큰 번들을 파싱하는 비용은 줄이지 못한다고 스킬은 설명합니다.

압축은 어디에서 켜나요?

Nginx, Apache 또는 CDN 설정이라고 스킬은 언급합니다.

상세 정보

작성자의 원본 설명

Use when auditing slow page loads, heavy assets, or rendering delays related to Enable text-based compression. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2777
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬