factor out calculation of product list cache expiration time