#NEWLINE# def link_prefix( self ) : #NEWLINE# #INDENT# 'Prefix to all links created by this request.' #NEWLINE# cached = self . _link_prefix_cache . get ( self . app . __class__ ) #NEWLINE# if ( cached is not None ) : #NEWLINE# #INDENT# return cached #NEWLINE# #UNINDENT# prefix = self . _link_prefix_cache [ self . app . __class__ ] = generic . link_prefix ( self , lookup = self . lookup ) #NEWLINE# return prefix