﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16967	CachedStaticFilesStorage only populates the file name cache once, never updates	mkai	nobody	"I noticed that the cache that CachedStaticFilesStorage uses for performance reasons (i. e. to avoid having to recalculate the MD5 hash for a file's contents) is populated only once, during collectstatic. Therefore, if memcached goes down and needs to be restarted, it will need to recalculate the MD5 hash for every subsequent static file request, because the cache query will always miss.

I suggest that if a cache query misses, the corresponding file name in the cache should be updated/ rewritten.
"	Bug	closed	contrib.staticfiles	dev	Normal	fixed	CachedStaticFilesStorage, cache	Jannis Leidel	Accepted	0	0	0	0	0	0
