Sets how long a resource is valid for.
Sets 'Cache-Control: max-age=x', where 'x' is expirationFromNow in seconds.