I modified our database library today to not connect to the database unless required. Previously, it automatically connected on every page. However, especially on pages that just pull from the cache, database connections aren’t necessary. Hopefully this should provide some incremental performance improvements. In the meantime, please keep an eye out for database errors because I coded half-asleep today.
P.S. There was already an error I discovered preventing me from posting this just now.