Is it possible you don't have the GZipMiddleware AT THE TOP of your settings.MIDDLEWARE_CLASSES
? That might cause weird behavior.
If this is a production server, though, you probably shouldn't be serving static files with django at all. I'd recommend gunicorn and nginx.
EDIT: If not that, what if you serve the files "manually" via urls.py, using something like:
urlpatterns += staticfiles_urlpatterns() + \
patterns('',
(r'^%s/(?P<path>.*)$' % settings.MEDIA_URL.strip('/'), 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
*[(r'^%s/(?P<path>.*)$' % settings.STATIC_URL.strip('/'), 'django.views.static.serve', {'document_root': path, 'show_indexes': True}) for path in settings.STATICFILES_DIRS]
)
Alternative #3: Nginx is pretty easy to install locally, and you could just point it at your Django server (no need for gunicorn/uwsgi/whatever).