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

Improve cache busting #296

Merged
merged 5 commits into from May 12, 2016

Conversation

Projects
None yet
2 participants
@mfairchild365
Copy link
Contributor

mfairchild365 commented May 11, 2016

Versioning for cache busting was done via a constant on the controller (it needed to be updated manually). This caused confusion as to when it should be updated.

Ideally versioning would be done with git anyway, so this PR will use git to handle cache busting. Rather than calling a git command for every request, have a version.txt file while will be updated via git hooks whenever the application is updated.

@@ -15,3 +15,4 @@ www/uploads
/UNL_MediaHub.sublime-workspace
/UNL_MediaHub.sublime-project
/ffmpeg
version.txt

This comment has been minimized.

@kabel

kabel May 11, 2016

Contributor

Gasp!

EOL

@kabel kabel merged commit 259250d into unl:4.0_template May 12, 2016

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment