Table cache improvements