'@param location: The directory for the cached files.
@type location: str
@param duration: The cached file duration which defines how
long the file will be cached.  A duration=0 means forever.
The duration may be: (months|weeks|days|hours|minutes|seconds).
@type duration: {unit:value}'

def __init__(self, location=None, **duration):

    if (location is None):
        location = os.path.join(tmp(), 'suds')
    self.location = location
    self.duration = (None, 0)
    self.setduration(**duration)
    self.checkversion()
