Set cache expiration directly when create cached item