5👍
✅
You can set expire for the static files in nginx configuration. For example if you don’t want to cache css, js and png files. you can define sth. like:
location ~* \.(css|js|png)$ {
expires 0;
break;
}
so they won’t been cached. But i assume you are making ./manage.py collectstatic after you change your static files on your repository or dev. environment.
Source:stackexchange.com