Lines 60-66
class HttpProtocol( Cache.File ):
Link Here
|
60 |
|
60 |
|
61 |
def __init__( self, request ): |
61 |
def __init__( self, request ): |
62 |
|
62 |
|
63 |
Cache.File.__init__( self, '%s:%i/%s' % request.url() ) |
63 |
Cache.File.__init__( self, '%s:%i/%s' % request.url(), request.__args.get('X-unique-cache-name') ) |
64 |
|
64 |
|
65 |
if Params.STATIC and self.full(): |
65 |
if Params.STATIC and self.full(): |
66 |
print 'Static mode; serving file directly from cache' |
66 |
print 'Static mode; serving file directly from cache' |
Lines 215-221
class FtpProtocol( Cache.File ):
Link Here
|
215 |
|
215 |
|
216 |
def __init__( self, request ): |
216 |
def __init__( self, request ): |
217 |
|
217 |
|
218 |
Cache.File.__init__( self, '%s:%i/%s' % request.url() ) |
218 |
Cache.File.__init__( self, '%s:%i/%s' % request.url(), request.__args.get('X-unique-cache-name') ) |
219 |
|
219 |
|
220 |
if Params.STATIC and self.full(): |
220 |
if Params.STATIC and self.full(): |
221 |
self.__socket = None |
221 |
self.__socket = None |