Disable cache header temporarily

This commit is contained in:
Dylan 2023-07-04 15:52:59 +01:00
parent 795b605313
commit 8ec9c70460

View File

@ -203,6 +203,7 @@ def secondsUntilTTL(ttl):
return untilTTL.total_seconds()
def make_cached_vnf_response(vnf,response):
return response
try:
if 'ttl' not in vnf or vnf['ttl'] == None or secondsUntilTTL(vnf['ttl']) <= 0:
return response