Report this

What is the reason for this report?

Laravel Public/js file is not updating on live server

Posted on October 1, 2020

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



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.

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

Refreshing the browser cache by pressing Ctlr + Shift + R worked for me.

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.