[Django] #24393: The offline documentation zipfile download is not compressed

18 views
Skip to first unread message

Django

unread,
Feb 22, 2015, 3:02:05 PM2/22/15
to django-...@googlegroups.com
#24393: The offline documentation zipfile download is not compressed
-------------------------------+--------------------
Reporter: pjdelport | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
The documentation index page links to the following HTML archive of the
Django documentation for offline use:

https://docs.djangoproject.com/m/docs/django-docs-1.7-en.zip

This file is currently '''23.2 MB''' in size, due to the contents being
stored without any compression at all (using the Store method, rather than
Deflate). Compressing the contents as a zip file with default compression
reduces the size to '''5.7 MB'''.

I am guessing that there was some oversight in the build process that
resulted in generating an archive without compression, and that this
should be easy to fix once identified?

For background: I discovered this earlier today after struggling to
download the large archive over a poor mobile connection, during a power
outage. A compressed archive would have saved me enough time, effort, and
data to be worth reporting this here, and i assume that other users in
network-constrained environment are similarly affected by this.

--
Ticket URL: <https://code.djangoproject.com/ticket/24393>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 22, 2015, 3:10:27 PM2/22/15
to django-...@googlegroups.com
#24393: The offline documentation zipfile download is not compressed
-------------------------------+--------------------------------------

Reporter: pjdelport | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by pjdelport):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

For the record, adding an LZMA-compressed version of the archive (.7z or
.tar.xz) would reduce the size of the download further to 3 MB, or almost
half the size of the zip file.

--
Ticket URL: <https://code.djangoproject.com/ticket/24393#comment:1>

Django

unread,
Feb 24, 2015, 9:46:22 AM2/24/15
to django-...@googlegroups.com
#24393: The offline documentation zipfile download is not compressed
--------------------------------------+------------------------------------
Reporter: pjdelport | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version:
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* has_patch: 0 => 1
* version: 1.7 =>
* type: Bug => Cleanup/optimization
* stage: Unreviewed => Accepted


Comment:

[https://github.com/django/djangoproject.com/pull/397 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/24393#comment:2>

Django

unread,
Feb 24, 2015, 11:39:52 AM2/24/15
to django-...@googlegroups.com
#24393: The offline documentation zipfile download is not compressed
--------------------------------------+------------------------------------
Reporter: pjdelport | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version:
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => fixed


--
Ticket URL: <https://code.djangoproject.com/ticket/24393#comment:3>

Django

unread,
Feb 24, 2015, 11:44:54 AM2/24/15
to django-...@googlegroups.com
#24393: The offline documentation zipfile download is not compressed
--------------------------------------+------------------------------------
Reporter: pjdelport | Owner: nobody

Type: Cleanup/optimization | Status: closed
Component: Documentation | Version:
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by pjdelport):

{{{
$ curl -LI https://docs.djangoproject.com/m/docs/django-docs-1.7-en.zip

Content-Length: 5598935
}}}

Thank you!

--
Ticket URL: <https://code.djangoproject.com/ticket/24393#comment:4>

Reply all
Reply to author
Forward
0 new messages