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

Fixes #368 - ca$he bust all compiled assets #594

Merged
merged 4 commits into from
Mar 25, 2015
Merged

Fixes #368 - ca$he bust all compiled assets #594

merged 4 commits into from
Mar 25, 2015

Conversation

miketaylr
Copy link
Member

Let's consistently cache bust all compiled JS + CSS assets. And let's only update the hash if a file actually changed. Before we were doing it based on a deploy timestamp which is not very efficient.

@miketaylr
Copy link
Member Author

Oops. I forgot to r? @karlcow

if not data:
break
m.update(data)
return m.hexdigest()

This comment was marked as abuse.

@karlcow
Copy link
Member

karlcow commented Mar 25, 2015

r+ @miketaylr Very cool. 🌻

karlcow added a commit that referenced this pull request Mar 25, 2015
Fixes #368 - ca$he bust all compiled assets
@karlcow karlcow merged commit 9c4fafe into master Mar 25, 2015
@miketaylr
Copy link
Member Author

Thanks!

@miketaylr miketaylr deleted the issues/368/1 branch March 25, 2015 15:14
@miketaylr miketaylr restored the issues/368/1 branch July 20, 2015 19:04
@miketaylr miketaylr deleted the issues/368/1 branch July 21, 2015 04:09
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

Successfully merging this pull request may close these issues.

2 participants