I have developed some websites using custom PHP and YII2. Whenever I have modified any JS or CSS file, it doesn't give any effect on my web pages. To apply the newest version of my code, I have to press ctrl+f5 to refresh it.
I have already gone through the several answers, but no effect.
I have checked the below links:
Force browser to refresh css, javascript, etc
How can I force clients to refresh JavaScript files?
Please help me to solve this.