Answer the question
In order to leave comments, you need to log in
Disable caching of all Django files?
Do not judge strictly, I'm just starting to learn everything))
The problem is that I made a project on Django, Django is installed on the local computer, the site is fully displayed, but with any changes in the layout or in styles, scripts, there are no changes on the site, google Googled everything, and the server restarts, and after restarting, the Html markup is updated, but the styles and scripts are not on the site, I ask for help, maybe someone has come across a similar one.
Answer the question
In order to leave comments, you need to log in
Same problem. Until you go through the browser through the url to the styles, they will not be updated and instead the server gives 304.
Nginx gives the statics, default settings. How do you usually deal with such a problem? I don't want to use ManifestStaticFilesStorage, because it's more like "I don't know how to set up nginx headers for proper caching, so I'll fill the user's browser with obsolete garbage."
On Opera and Chrome, CTRL+F5 sometimes helps. On Fireforx, I have not encountered this.
Found a solution, settings.py helped me set debug = True
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question