set cache period for requests