django-cachebuster
django-cachebuster copied to clipboard
Git detector doesn't work after git gc
The git detector seems to be reading from .git/refs/heads/ , but this directory is cleaned up after running a git gc (the refs ar packed into .git/packed-refs)
Juan, if you're using Django 1.4+ (and I sincerely hope you are), you should use Django's built-in caching mechanisms. While potentially not as efficient as this, Django's methodology scales across servers better, I believe.
Feel free to suggest a fix or better yet, submit a pull request to address this. I'd love to get options.