Skip to content

Commit

Permalink
add docs for use_manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Sep 10, 2024
1 parent 49f871b commit 9e62147
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/src/django-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ Recheck the filesystem to see if any files have changed before responding. This

---

## `SERVESTATIC_USE_MANIFEST`

**Default:** `not settings.py:DEBUG and isinstance(staticfiles_storage, ManifestStaticFilesStorage)`

Find and serve files using Django's manifest file.

This is the most efficient way to determine what files are available, but it requires that you are using a [manifest-compatible](https://docs.djangoproject.com/en/stable/ref/contrib/staticfiles/#manifeststaticfilesstorage) storage backend.

When using ServeStatic's [`CompressedManifestStaticFilesStorage`](./django.md#step-2-add-compression-and-caching-support) storage backend, ServeStatic will no longer need to call `os.stat` on each file during startup which improves startup speeds.

---

## `SERVESTATIC_USE_FINDERS`

**Default:** `settings.py:DEBUG`
Expand Down

0 comments on commit 9e62147

Please sign in to comment.