Neova高機能SEOプラットフォーム

テキスト圧縮が有効になっていない

Neovaでは クロールそのものから実行されます。設定は不要です。

ルールの最終確認:2026年10月17日 · ガイドの更新:2026年9月28日

HTML、CSS、JavaScript などのテキストファイルが圧縮されずに送られているため、転送量が必要以上に大きく、遅くなっています。Lighthouse が判定するのは HTML ドキュメントで、その推定をサイトの他のテキストファイルに当てはめるのは製品の慣例です。

できること

HTML、CSS、JavaScript、JSON、SVG、XML のレスポンスに対して、サーバーまたは CDN で gzip か Brotli を有効にしてください。

Neovaの検出方法

Neovaはページの種類ごとにサンプルを選び、速度テストを実行します。

Neovaがフラグを立てる理由

  • 圧縮されていないテキストファイルはgzipやBrotliの場合より数倍大きいことが多く、特にモバイルではダウンロードに時間がかかります。
  • 圧縮はすべての最新ブラウザとGoogleのクローラーがサポートしているので、オフにしておく理由はほとんどありません。
  • LighthouseはHTMLドキュメントを評価します。その推定をサイトの他のテキストファイルに当てはめるのはこの製品の慣習です。

出典

作成するチケット

この部分は現在、英語のみです。

PE-013 · Text Compression Is Not Enabled

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

完全ガイド

この部分は現在、英語のみです。

What "Enable Text Compression" Means

This check fires when your server sends text-based files — HTML, CSS, JavaScript, SVG, JSON — without a Content-Encoding header, meaning they travel the wire uncompressed. Text compresses beautifully (often 70–90% smaller), so shipping it raw wastes bandwidth and delays first paint. The stakes land squarely on Core Web Vitals: a bloated main document pushes back Largest Contentful Paint, and on mobile connections that delay is measured in whole seconds.

A Real Example: Seeing the Header

The whole thing hinges on one response header. A compressed response looks like this:

$ curl -I -H "Accept-Encoding: gzip, br" https://example.com/style.css

HTTP/2 200
content-type: text/css
content-encoding: br          ← compression is ON (Brotli here)
vary: Accept-Encoding

If content-encoding is missing entirely, the file went out raw and the check fails. The fix is to turn compression on at the server. On Apache with mod_deflate:

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/css text/javascript 
    application/javascript application/json image/svg+xml
</IfModule>

On Nginx, enable gzip (and Brotli if the module is compiled in):

gzip on;
gzip_comp_level 5;
gzip_types text/plain text/css application/javascript application/json image/svg+xml;
gzip_vary on;

Brotli vs. gzip: What to Reach For

gzip Brotli (br)
Typical text savings ~70% ~75–80% (better)
Browser support Universal All modern browsers, HTTPS only
CPU cost to compress Low Higher at max levels
Best for static assets Fine Pre-compress at level 11 once
Best for dynamic HTML Level 5–6 Level 4–5 (balance CPU)
Fallback — Serve gzip if client sends no br

Ship Brotli to clients that advertise it and fall back to gzip for the rest. The Vary: Accept-Encoding header keeps proxies and CDNs from caching the wrong version.

How to Detect It on Your Own Site

  1. curl -I (the fastest check): Run curl -I -H "Accept-Encoding: gzip, br" https://yoursite.com/ and look for a content-encoding line. No line means no compression.
  2. Lighthouse: DevTools → Lighthouse → Performance. "Enable text compression" appears under Opportunities with the estimated KB and time savings per file.
  3. PageSpeed Insights: Run the URL through PageSpeed Insights — the same opportunity lists every uncompressed resource.
  4. DevTools Network tab: Load the page, click a CSS or JS request, and compare "Size" (transferred) against "Content" (uncompressed). If they are identical, that file was not compressed.

Why the Wire Size, Not the Disk Size, Is What Hurts

A 120 KB JavaScript bundle sitting on your server costs nothing until someone requests it. The moment they do, that 120 KB has to cross the network — and on a mid-tier mobile connection, that transfer alone can take the better part of a second before the browser has even started parsing. Compression attacks exactly this stretch of the timeline. Gzip or Brotli can turn that 120 KB into roughly 30 KB on the wire, and because the browser decompresses in a few milliseconds, the user gets the full file far sooner with no visible cost. The main HTML document is the highest-value target of all: it is the very first thing requested, and until it arrives nothing else can even be discovered, so compressing it directly shortens the critical path to first paint.

This is why compression is one of the highest leverage single toggles in performance work. It touches every text asset at once, it requires no code changes, and it compounds with every other optimization you make. A minified stylesheet that is also compressed is smaller than either technique achieves alone, and the savings apply on every request, for every visitor, forever.

How to Fix It

  1. Flip it on at the server. Apache: enable mod_deflate or mod_brotli. Nginx: set gzip on and add the Brotli module. This is the durable fix.
  2. Let the CDN do it. Cloudflare, Fastly, and most CDNs compress at the edge with a single toggle — often the quickest win if you cannot touch server config.
  3. WordPress on shared hosting: Many caching plugins expose a "gzip compression" switch; enabling it writes the right .htaccess rules for you.
  4. List every text type. A common miss is compressing HTML but forgetting JSON, SVG, or web-font formats — add them to the MIME list.
  5. Re-test with curl. Confirm the content-encoding header appears on each flagged file type, not just the homepage.

False Positives and Gotchas

Do not try to compress images with gzip — JPEG, PNG, and WebP are already compressed, and running them through gzip wastes CPU for zero gain. That belongs to image encoding, a different check. Also watch for a CDN that strips or overrides your origin's encoding; if curl shows compression at the origin but not at the public URL, the edge is the culprit. And if Lighthouse still complains after you enabled it, you are likely testing a cached response — purge and retest.

FAQ

Will Compression Slow Down My Server?

Barely, and it is a trade you want. Compressing HTML at gzip level 5–6 costs a millisecond or two of CPU to save tens of kilobytes over the wire. For static assets, pre-compress once at build time and the runtime cost is zero.

Is Text Compression the Same as Minification?

No. Minifying CSS and minifying JavaScript rewrite the file to remove whitespace; compression wraps whatever bytes you send in gzip or Brotli on the wire. Do both — minify first, then compress the minified output for the biggest reduction.

Do I Need to Compress Images Too?

Not with gzip. Images need format-level optimization — serving WebP or AVIF and encoding efficiently — not text compression.

I Enabled It but the Check Still Fails. Why?

Usual suspects: a CDN caching the pre-fix uncompressed version, a MIME type you forgot to add to the list, or the Accept-Encoding request header being stripped by a proxy. Curl each file type directly to isolate where the header disappears.

Does Compression Help SEO Directly?

Indirectly but meaningfully — smaller responses mean faster loads, and page speed feeds Core Web Vitals, which is a ranking signal. See our guide on improving page speed on WordPress.

自分のサイトで見つける

Neovaはこのチェック項目とほかのすべてをクロールのたびに実行し、修正内容をチーム向けのチケットとして書き出します。

  • Mac、Windows、Linux用のデスクトップアプリ
  • 696項目のチェックすべてに出典付き
  • Search ConsoleとAnalytics 4を読み取り専用で接続
  • Jira、Linear、Asanaへのチケット

Neovaをダウンロード Desktop Freeプラン、またはSoloを14日間無料、カード不要。

パフォーマンスのチェック項目すべて · ガイド · チェック項目一覧

執筆:Neova Labs · チェック項目一覧に戻る