Set cache control headers so that response is only recalculated when database has change or server restarted.
Make all behave table counting tests wait for the table to fully load before counting.
Tweak the etag logic.