Centralize cache attribute handling