Hello, such a problem, I'm making a site on Django, I connected css styles, but they don't work, if you just run the html file, all the styles get up as they should.
I don't know how it is on django, but when I wrote on flask, there was a similar problem. She decided to disable caching, with this line: . Rummage in Google in this direction, suddenly it will help app.config['SEND_FILE_MAX_AGE_DEFAULT']