Answer the question
In order to leave comments, you need to log in
How to make CSS and JavaScript files included with "version" in YII2?
I noticed that after changing some CSS and JavaScript files, not all site visitors see these changes... Some people have old "versions" of files in the browser cache. I use YII2 as a backend.
How to make YII2 include (include) JavaScript and CSS files with "version"? In this form:
<script src="/resources/my_script.js?3868294767"></script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question