Some time ago, I optimized Trac performance. One of the ways I achieved it is by having Apache serve static files instead of Trac itself. This requires an extra step (trac-admin deploy) when creating new Trac directories for projects.
Today, after Raymond Toy reported issues with Trac projects set up for him, I changed the add-trac.sh script to include the extra step.
Just for your information.
Bye,
Erik.