Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create timestamped assets. #6

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

Create timestamped assets. #6

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

Comments

@winding-lines
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant