#NEWLINE# @ app . route ( '/cache/<int:value>' ) #NEWLINE# def cache_control( request , value ) : #NEWLINE# #INDENT# 'Sets a Cache-Control header.' #NEWLINE# value = int ( value ) #NEWLINE# response = view_get ( request ) #NEWLINE# response . headers [ 'Cache-Control' ] = 'public, max-age={0}' . format ( value ) #NEWLINE# return response