Question

Laravel Public/js file is not updating on live server

I changed some code in public/js/app.js file, it works fine on local server but when i do the same changes on live server it did not work. even I removed all codes from app.js file but still it does have any effect on it.

please someone help me


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @tajamulhussain986,

It is quite possible that it is due to your browser cache. Make sure to clear your cache and try again. If you are using Google Chrome, you can refresh the cache for a certain page by pressing CTRL+Shift+R.

Another thing that could be causing this behavior is if you are using a CDN service like Cloudflare, in this case, you need to refresh the cache via your Cloudflare control panel as well.

Let me know how it goes. Regards, Bobby