'Set the cache duration expiry on the file'

def preDeployFile(self, file):

    if ((self.cache_duration is not None) and (not file.is_fingerprinted)):
        file.cache_control = self.cache_duration
