Opened 18 years ago

Closed 18 years ago

#2671 closed enhancement (wontfix)

Gzip compression of Sitemap?

Reported by: JayKlehr Owned by: Adrian Holovaty
Component: Contrib apps Version: dev
Severity: trivial Keywords: sitemap gzip
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Now that the Sitemaps framework is part of Django (great job by the way) I was hoping that a bit could be added to enable gzip compression of the sitemap xml files after they are created. Both Yahoo! and Google recognize gzipped sitemaps, and Google's sitemap generator tool gzips them by default.

Think this is possible for Django?

Change History (2)

comment:1 by Matt McClanahan, 18 years ago

Have you looked at GzipMiddleware?

comment:2 by Adrian Holovaty, 18 years ago

Resolution: wontfix
Status: newclosed

Use the GzipMiddleware, or use a decorator on the sitemap view using the new functionality that allows URLconfs to accept callables rather than strings.

Note: See TracTickets for help on using tickets.
Back to Top