inertia-laravel icon indicating copy to clipboard operation
inertia-laravel copied to clipboard

Why many times after update vue component browser shows older content not new?

Open clickervinod opened this issue 3 years ago • 1 comments
trafficstars

Hi, Plz help ! why many times it happes when i make any changes in vue components and also running npm run watch browser shows old content. when i press ctrl +f5 many times somtime it shows updated content and my time not ..3..

What should i do to show latest update content when i make any changes to it.

Thanks

clickervinod avatar Jun 28 '22 12:06 clickervinod

Once I faced the same problem. The reason was the name of the component. npm scripts won't work with component and Component

andrewizmaylov avatar Jul 18 '22 15:07 andrewizmaylov

Browser cache is my guess. This is very likely unrelated to Inertia, but you may try what @andrewizmaylov has written.

If you're using Laravel Mix to compile assets, read the docs on cache busting: https://laravel.com/docs/8.x/mix#versioning-and-cache-busting

@clickervinod remember to close the issue if this has been resolved.

crnkovic avatar Jan 18 '23 08:01 crnkovic

Hey there,

We're closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this problem.

jessarcher avatar Sep 08 '23 01:09 jessarcher