{"action":"opened","issue":{"url":"https://api.github.com/repos/django-compressor/django-compressor/issues/680","labels_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/680/comments","events_url":"https://api.github.com/repos/django-compressor/django-compressor/issues/680/events","html_url":"https://github.com/django-compressor/django-compressor/issues/680","id":111473003,"number":680,"title":"COMPRESS_OFFLINE setting clarification","user":{"login":"alfetopito","id":43217,"avatar_url":"https://avatars.githubusercontent.com/u/43217?v=3","gravatar_id":"","url":"https://api.github.com/users/alfetopito","html_url":"https://github.com/alfetopito","followers_url":"https://api.github.com/users/alfetopito/followers","following_url":"https://api.github.com/users/alfetopito/following{/other_user}","gists_url":"https://api.github.com/users/alfetopito/gists{/gist_id}","starred_url":"https://api.github.com/users/alfetopito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfetopito/subscriptions","organizations_url":"https://api.github.com/users/alfetopito/orgs","repos_url":"https://api.github.com/users/alfetopito/repos","events_url":"https://api.github.com/users/alfetopito/events{/privacy}","received_events_url":"https://api.github.com/users/alfetopito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T19:24:20Z","updated_at":"2015-10-14T19:24:20Z","closed_at":null,"body":"Hey there!\r\n\r\nI spent awhile struggling to get django-compress working together with [whitenoise](http://whitenoise.evans.io) on [Dokku] (http://progrium.viewdocs.io/dokku) (you know, almost Heroku).\r\n\r\nI stared for some time at this ticket https://github.com/django-compressor/django-compressor/issues/486#issuecomment-36886332 and tried several things, all without success.\r\n\r\nEven disabled whitenoise's caching, and still no luck.\r\n\r\nI had come across the [COMPRESS_OFFLINE] (http://django-compressor.readthedocs.org/en/latest/settings/#django.conf.settings.COMPRESS_OFFLINE) setting, but had ignored it since `compress --force` created the needed file, and it states that when it is set, the compressing will be ALSO done offline together with request/response loop. \r\n\r\nI had thought: \"If it won't disable online compression and the --force flag works, why bother?\"\r\n\r\nTurns out I need to set this to `COMPRESS_OFFLINE = True` to finally get it working.\r\n\r\nBefore setting this flag, the file name set on my html didn't match the one on the file system.\r\n\r\nSo, I just suggest the docs reflect the need to set that flag if working offline. At least I had to."}}