News for hackers. Stuff that matters.
Re:Show HN: Invalidate browser cache of Django static files ... by jboutros on Monday July 30, 2012 @11:56AM (#4312925)
How does this differ from Django's CachedStaticFileStorage backend? https://docs.djangoproject.com/en/dev/ref/contrib/staticfile...
Re:Show HN: Invalidate browser cache of Django static files ... by dgunn on Monday July 30, 2012 @12:17PM (#4313072)
From what I can tell, there isn't much difference. My guess is the developer was making up for the lack of this functionality in Django 1.3 and didn't realize that 1.4 added it. Before 1.4, django pipeline was a good solution but was difficult to work with IMO. Glad to see this included in 1.4 for sure.
Re:Show HN: Invalidate browser cache of Django static files ... by niels on Monday July 30, 2012 @12:52PM (#4313267)
The difference is this just appends the hash to the url, the builtin actually saves the static file with the hash in the file name.
Re:Show HN: Invalidate browser cache of Django static files ... by strictfp on Monday July 30, 2012 @12:36PM (#4313174)
Why not use ETag instead?