﻿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
31447	ManifestStaticFilesStorage should have file exclude patterns.	Carsten Fuchs	nobody	"`ManifestStaticFilesStorage` covers all files found by the static files finders.
However, it is not always desirable to have all files covered:

  - files for user download, e.g. `usermanual.pdf`:
      - such files are not cached by browsers and thus require no cache busting
      - files with hashes in their file name impair the user experience
  - files where the cache busting is done by other means:
      - e.g. when an explicit version string is already kept in other ways, e.g. manually as in `jquery-3.4.1.slim.min.js`

Thus it would be helpful if files could be excluded from the manifest processing. For example, a setting with glob patterns could be introduced such as:
{{{
#!python
STATICFILES_MANIFEST_EXCLUDES = (
    ""*.pdf"",
    ""static/3rdparty/"",
)
}}}
Does that make sense?"	New feature	closed	contrib.staticfiles	3.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
