Add pipelined static media compilation to prepare-dev.py.
Review Request #11164 — Created Sept. 8, 2020 and submitted
When setting up a new tree, a common annoyance is that the first page
load has to compile all the referenced static media. This may appear to
be a problem with the server loading.To improve the initial experience, we now compile all the static media
bundles up-front through Django Pipeline. This can take some time, but
no longer than it would take if trying to load a page and doing it then.
We also show the progress as the compilations proceed, giving a sense of
how much longer the process will take.
Ran
prepare-dev.pyon a new tree. Saw it compile all the static media
files, and verified their presence in thehtdocs/static/directory.
| Summary | ID |
|---|---|
| 20b4dcd0267647cb6b0289fd4fbeded7a8128903 |
| Description | From | Last Updated |
|---|---|---|
|
Should be "Run Pipeline on all the files" |
|