Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have an Apache HTTP server which is configured with mod_deflate to compress content "on the fly".

Is there any benefit if I serve a compressed sitemap.xml.gz file, or should I rely on mod_deflate to compress resources?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

GZIP offers superior compression in most instances, but XML sitemaps just aren't that large to begin with. I would say that you shouldn't worry about it.

Unless you have some very sizable sitemaps (ie: Approaching the 50,000 URL limit), I would say that the server's compression should be sufficient - at least to avoid the hassle of manually compressing them yourself.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.