Need to Clear Assets When JavaScript Files are Changed and JS Changes Not Displayed After Clearing

Whenever I make changes to my JavaScript files, the changes do not reflect immediately in the browser. I understand that this is due to Yii2’s asset management system which caches assets for performance reasons. To see the changes, I have to clear the assets. However, even after clearing the assets, sometimes the JavaScript changes are still not displayed.

How i can handle this problem?

I don’t know but this may help
https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#cache-busting