same here for cacheDuration and constants