The lifetime is used when files are retrieved. The oldest modified time is 0. The maximum time is either a 32 bit integer, something like year 2032, or a 64 bit integer. In a 64 bit system, you can set the lifetime to mktime(0, 0, 0, 0, 0, 5000) or to time()*10.