0

I am using a amazon server to host my Django app. It used to work fine but after some changes in the css files the app is not rendering those files anymore. I ran python manage.py collectstatic. Through firebug I can see the css files through up the error 304 not modified. I guess this post address the issue but I couldnt understand it! What should I do to make so that static files render properly?

Community
  • 1
  • 1
name
  • 571
  • 1
  • 7
  • 11

1 Answers1

0

It is good practice to use something like /path/to/style.css?ver=CURRENT_VERSION to ensure that all users get recent version of CSS, JS and other static. CURRENT_VERSION could even be auto-populated from current Git commit id on deploy.

ilvar
  • 5,718
  • 1
  • 20
  • 17