0

I stumbled into a problem with my Django & React app.

I am changing the look of a component and Django doesn't update it when I refresh, I tried force refreshing and clearing the browser cache, didn't work. Tried giving the URL a random timestamp so it would always be different.

To be sure that it's not my browser I accessed the site from my phone and the updated content wasn't there so it's definitely NOT the browsers fault. As a final check I used my other machine and fresh install of everything related and copied my project there and the changes finally showed.

What could be the cause of the problem on my main machine? Does django itself store some cached older version and use that instead? Network resources coming in

1 Answers1

0

Have you tried attaching a version string query to your URLs. an example would be

company.com/static/css/index.css?version=1.0.0