Added configurable MAX_AGE for caching