Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding a timestamp to the URL of a static asset file

<link rel="stylesheet" href="{f:uri.resource(path: 'foo/bar.js', package: 'Vendor.Package')}?{f:format.date(date:'now',format:'U')}" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment