Report this

What is the reason for this report?

Not serving up-to-date Javascript

Posted on December 9, 2018

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.

It says 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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I have recently got to know about the new Javascript program that has to game me access to the Netgear router login page which is really very helpful. You must always keep it up to date.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.