Disable cache header temporarily
This commit is contained in:
1 parent
795b605313
commit
8ec9c70460
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user