Add a lifo_cache backed up on the filsystem and use it everywhere.