update JS and CSS files

How to force browser cache to take the updated versions of the JS and CSS files automatically from Yii2 and not CTRL+F5 ?

I am sorry if this topic has been answered but I would like to know the right way to accomplish this.

Thank you in advance.


Thank you very much for answering so quickly and so right!