Skip to content

Instantly share code, notes, and snippets.

@mrimann
Created March 27, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrimann/5f44312bcba9afcef0ed to your computer and use it in GitHub Desktop.
Save mrimann/5f44312bcba9afcef0ed to your computer and use it in GitHub Desktop.
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