
06
ShrinkIt — Free GZIP/Brotli Compression Test (Speed, Core Web Vitals, SEO)
Paste a URL and instantly see if your site serves GZIP or Brotli. ShrinkIt verifies compression, response size savings, and cache hints—plus clear steps to fix what’s slowing you down.
If your pages feel sluggish, there’s a good chance you’re shipping more bytes than you need. Text assets—HTML, CSS, JavaScript, JSON, SVG—compress extraordinarily well. Enabling GZIP or Brotli can cut those payloads by 20–90% and boost Core Web Vitals without touching a line of product copy. ShrinkIt makes the proof immediate: paste a URL and learn, in seconds, whether compression is on, which algorithm is in use, and how much data you’re actually saving.
Everything here is written from scratch to be original, friendly, and SEO-safe. Let’s break down how ShrinkIt works, why compression still matters in 2025, and how to turn quick findings into lasting wins.
What ShrinkIt checks (and why it’s useful)
When you run ShrinkIt on any public URL, it performs a handful of lightweight, read-only checks:
- Compression in use: Confirms whether the server returns Content-Encoding: br (Brotli) or gzip, or neither.
- Before/after size: Compares compressed size vs. approximate uncompressed bytes to show % savings.
- Content types: Flags text-based resources that benefit most (HTML, CSS/JS, JSON, SVG, XML), and notes binary types where compression is skipped by design (e.g., WebP, AVIF, MP4).
- Vary & cache hints: Looks for headers like Vary: Accept-Encoding and cache controls that keep CDNs/browsers from serving the wrong variant.
- Protocol context: Notes whether the page was served over HTTPS (best practice for Brotli on many stacks and for general security).
- Consistency across assets (optional): Spot checks linked CSS/JS to see if your app shell compresses while secondary files don’t.
Result: a compact, actionable report—no lab gear required.
GZIP vs. Brotli (quick, practical differences)
- GZIP is the long-time standard. It’s universally supported, fast to compress and decompress, and still a meaningful win for text.
- Brotli is newer and typically smaller than GZIP at comparable settings—especially for precompressed static files (like CSS/JS bundles). It shines when you can compress once at build time or when your CDN handles it.
Rule of thumb: If you can serve Brotli to modern browsers and GZIP as a fallback, you’re in the sweet spot. If you can only enable one, enable GZIP now and plan for Brotli next.
Why compression still matters (even with fast networks)
- Lower download time: Fewer bytes means faster Largest Contentful Paint (LCP), especially on mobile or congested networks.
- Less CPU for parsing: Smaller HTML/CSS/JS means browsers start layout and execution sooner.
- Better cache efficiency: CDNs and browsers store compressed variants, stretching limited cache space further.
- SEO & UX uplift: Faster pages correlate with better engagement and search performance. Compression is one of the lowest-effort performance levers you can pull.
How to use ShrinkIt (60 seconds)
- Paste a URL (use a representative page like a product detail, blog article, or dashboard route).
- Run the test. ShrinkIt fetches the resource with modern defaults (supporting Brotli) and evaluates the response.
- Read the verdict. You’ll see Brotli, GZIP, or No compression plus a % saved estimate.
- Scan the hints. If compression is missing or partial, ShrinkIt calls out the most likely reason (misconfigured server, CDN rule, content type mismatch).
- Prioritize fixes. Start with HTML, CSS, and JS—the biggest wins with the least risk—then verify again.
Interpreting your results (and what to do next)
Case A: “Brotli enabled (br), 38% savings”
Great start. Confirm you’re also serving GZIP for older clients and that Vary: Accept-Encoding is present to keep caches honest. If savings look lower than expected, check if your bundles are already minified or if you’re accidentally compressing a precompressed format (not needed).
Case B: “GZIP enabled, 32% savings”
Solid. Consider upgrading to Brotli for static assets via your CDN or build step, while keeping GZIP as fallback. Ensure CSS/JS files get the same treatment as HTML.
Case C: “No compression detected”
The fastest fix you’ll make all quarter. Enable compression at your edge (CDN), web server, or platform setting. ShrinkIt’s hints will point to the likely knob.
Case D: “Compression on HTML, off for CSS/JS”
Common mis-scope. Extend your compression rule to cover text/css, application/javascript, and application/json (and image/svg+xml, which benefits a lot).
Case E: “Compressed binary assets”
Most image/video formats (WebP, AVIF, MP4) are already compressed. Double-compressing wastes CPU and rarely helps; it can even increase size. Exclude these from rules.
Typical places to switch it on (no code, just the plan)
- CDN / Edge: Look for “Enable compression,” “Brotli,” or “Optimize delivery” options. Apply to text content types and ensure Vary: Accept-Encoding is set.
- Managed hosts / PaaS: Many platforms have a toggle for GZIP/Brotli under site settings or build/optimization panels.
- Reverse proxy or load balancer: Compression can be centralized here so your app servers stay focused on business logic.
- Static builds: Precompress your static CSS/JS/JSON/SVG as .br and .gz during the build. Configure the server/CDN to serve these when the client supports them.
Tip: Start at the edge if possible. Offloading compression to your CDN saves origin CPU and yields consistent behavior across environments.
Headers that matter (conceptual, not code)
- Content-Encoding: tells the browser if bytes are br or gzip.
- Content-Type: ensures compression rules match the asset (e.g., text/html, text/css, application/javascript, application/json, image/svg+xml).
- Vary: Accept-Encoding: prevents a compressed response being served to a client that didn’t ask for it.
- Caching headers: compressed files benefit from longer max-age when immutable (especially CSS/JS).
Edge cases ShrinkIt helps you catch
- Wrong MIME types: If CSS ships as text/plain, your compression rule might skip it. Fix content types first.
- Double work on already-compressed media: Skip AVIF/WebP/MP4. ShrinkIt calls these out so you can conserve CPU.
- Server-side rendering gone wild: Some SSR stacks compress HTML but forget the hydration bundle. Align asset rules with your SSR output.
- Misleading proxies: If an intermediary rewrites headers, ShrinkIt can reveal mismatches between origin and client-observed response.
Performance strategy: compression + 5 supportive moves
Compression is a big win, but stacking a few habits multiplies the result:
- Minify HTML/CSS/JS first; smaller raw assets compress even better.
- Bundle & split smartly: Serve only what each route needs; don’t ship your whole app to every page.
- Use modern image formats (WebP/AVIF) and leave them uncompressed by GZIP/Brotli rules.
- Set caching headers so compressed assets stay fresh on the client and CDN.
- Prefetch/Preload critical CSS or fonts to speed up LCP.
Troubleshooting quick guide
- “Savings seem tiny.” The file may already be minified or tiny to begin with; compression overhead isn’t worth much for very small files (<1–2 KB).
- “Brotli on HTML, not on JS.” Your server may default to Brotli only for text/html. Extend the rule to application/javascript.
- “Mobile users still slow.” Check TTFB and render-blocking resources. Compression reduces bytes; it doesn’t fix slow backends or blocking scripts.
- “CDN says ‘optimized’ but ShrinkIt shows none.” Ensure caching isn’t serving a stale, uncompressed variant. Purge, then retest.
- “Binary assets flagged.” Exclude formats that don’t benefit. Compression should be targeted, not universal.
Governance for teams
- Set a policy: “All text assets must be served with GZIP or Brotli.”
- Add a build check: Precompress static bundles (.br & .gz) as part of CI; fail the build if missing.
- Monitor expiries & regressions: Add a weekly ShrinkIt check for critical pages; store % savings to catch drift.
- Documentation: Keep a one-pager listing which content types are compressed, by whom (CDN vs. origin), and how to update rules.
FAQs
Does Brotli always beat GZIP?
Typically for text, yes—especially when files are precompressed. Real gains vary by content and compression level.
Should I compress images and video?
No. Modern image/video formats are already compressed. Focus on HTML, CSS, JS, JSON, and SVG.
Will compression hurt my servers?
Live compression consumes CPU. Prefer edge compression or precompressed static files to minimize origin load.
What about HTTP/3 and QUIC?
Still beneficial. Faster transport doesn’t remove the value of shipping fewer bytes.
Do I need to change my code?
Usually not. Compression is a platform or server concern. Your only code change might be enabling precompression during builds.
Is there any risk to SEO?
Only upside. Faster pages tend to rank and convert better. Just ensure headers are correct so bots receive the compressed variant cleanly.
Suggested hero image & alt text
Concept: A minimalist dashboard titled “ShrinkIt — GZIP/Brotli Test” showing a URL field, a result badge “Brotli enabled”, a bar or donut chart of size saved (%), and a small checklist with HTML, CSS, JS, JSON, SVG marked Compressed. A subtle note displays Vary: Accept-Encoding and cache hints. Neutral UI; no real domains.
Alt text: “Interface confirming Brotli/GZIP compression with percentage savings and a list of compressed text asset types.”
Final takeaway
You don’t need a redesign to make your site feel faster—you need to stop wasting bytes. ShrinkIt shows, at a glance, whether GZIP or Brotli is working for your pages and how much you’re saving. Turn on compression at the edge, include all text content types, keep Vary and cache headers tidy, and re-test. It’s one of the rare optimizations that’s both easy and high-impact—and it pays off on every single visit.
Contact
Missing something?
Feel free to request missing tools or give some feedback using our contact form.
Contact Us