gtalarico / django-vue-template

Django Rest + Vue JS Template
https://django-vue-template-demo.herokuapp.com/
MIT License
1.58k stars 406 forks source link

Whitenoise not working? #62

Open strig opened 4 years ago

strig commented 4 years ago

I have an app that's using this template and it doesn't seem like whitenoise is working. It's running on heroku and while the static files are being served correctly, they are not gzipped and don't have the a long Cache-Contol header on them. Any ideas?

Update:

I looks like the admin static files are being correctly cached and compressed, just not the js/css from the Vue app. Does anyone know how I can enable compression and caching for these files as well?