cache and ordering