Replaced CUSTOM_CACHE_LIFETIME with helper method