Optimizations
- Prefetch classifications and transcriptions with sources on page API (removes duplicate SQL requests)
- Disconnect the Django pre_delete signal when deleting a corpus; although there are no ElementPaths, Django will still fetch every element and run the signal. Disconnecting speeds up the corpus deletion command by ~600%.
- Remove the .tar.gz after installing in Dockerfile
Edited by Erwan Rouchet