, .
<script src="script.js?<?= uniqid(); ?>">
<img src="myfile.jpg?<?= uniqid(); ?>">
, , , , , , .
, , , HTML5, . , .
Just remember that if you change something in the JS, CSS, Image file, and you need to push this change to regular visitors, you also need to update the manifest file. You can add as the publication date as the browser knows that this is a new manifest and it will download everything again.
source
share