Heavy front page queries are now cached
Some minor/testing changes to Db class