We often must to customize the certain code in .css and .js files and then re-upload those files to the production server. Unfortunately, the End-Users cannot download and use those files via their browser, if they do not do the hard-refresh/reload the current page, moreover, for some cases, they have to reload those .css andd .js files via View Page Source of the browsers.To overcome those issues, then please add the ability to add the sufix for each .css and .js files. So, instead of displaying this:
phpcss/demo2018.cssthat would be better if we use such the following technique:
phpcss/demo2018.css?v=1522739106The last format will auto detect the latest version. End-Users do not need the hard-refresh/reload again.Thank you.
+1
+1
+1 …but:a) there’s no need for the “v=” part - just a number i.e. “?1234567” as the query is sufficient
b) it’s better to use the file timestamp as in the example I posted so that manual changes to .css and .js files are taken into account - this is especially important for files that are not auto-generated
+1
Try v2023.