Add a duration to each cache attribute.