My server is not serving updated JS files; the ones served are not the ones in the code but old ones. I can make changes to HTML okay, but not to JS, so this means the server is responding since I seem some changes.
I added a log to test. Then looking in the network tab, I can see the code of the log is not there. I’ve restarted the app itself as well as Nginx with
service nginx restart to no avail (many many times)
I know the reset works because the html will update after restart but the JS will not.
I know this is a Digital Ocean problem because I fixed the app locally and it works. I even deleted the app from the server, and cloned a new version with the changes, booted this up but STILL the problem persists.
from memory cache in the dev tools but I don’t know what this means. How do I clear the server cache if such a thing exists? How can this persist across deletion of the app?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×