Define $already_cached

Working on too many branches at once, not everything makes it over