$ resp ->freshness_lifetime ()
resp
Returns the number of seconds until the response expires. If expiration was not specified by the server, LWP will make an informed guess based on the Last-Modified header of the response.
Copyright © 2001 O'Reilly & Associates. All rights reserved.