Create timestamped assets. #6

winding-lines opened this Issue Nov 21, 2009 · 0 comments


None yet

1 participant


I really like your tool and it works great with the default rails cache busting approach of adding a timestamp after ?. However when you use with the amazon CDN the ?timestamp part of the URL is not taken into account.

It would be great if the asset packager could help busting the CDN cache without requiring additional steps to the current workflow. One approach would be to:

  1. save the build timestamp into a configuration file, asset_manager_auto.yml
  2. create a file with a timestamped name
  3. in production when generating the link automatically append the timestamp, for example base_1562827.css, base_1562827.js

I can help with the implementation once we reach a consensus on an approach that works...

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