The Sitemap SOP
The Sitemap SOP
@SitemapSOP

Gzipped vs Plain Sitemap: Compress Above This Size

Gzipped vs Plain Sitemap: Compress Above This Size

Google accepts .xml.gz. Decide by file size, not preference.

Serve plain .xml when:
— File is under ~1MB. Compression savings are trivial; plain is easier to eyeball and debug.

Serve .xml.gz when:
— File approaches the 50MB uncompressed limit (the 50MB cap is measured uncompressed — gzip does NOT raise it).
— You're serving many large child files and want to cut bandwidth on repeat crawls.

Common mistake: assuming gzip lets you exceed 50MB. It does not. Both gzipped and plain files must be ✅ under 50MB uncompressed and ✅ under 50,000 URLs.

Pass/fail:
— ✅ Content-Encoding header is correct for .gz files.
— ✅ The .gz extension matches actual gzip content (mislabeled files fail parsing).

Definition of done: large files compressed, headers correct, limits respected uncompressed.
Этот пост опубликован в Telegram-канале The Sitemap SOP. Подписаться можно по ссылке: @SitemapSOP.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.