equal
deleted
inserted
replaced
184 Perform a cached render of the given tile |
184 Perform a cached render of the given tile |
185 """ |
185 """ |
186 |
186 |
187 if cache : |
187 if cache : |
188 # cache key |
188 # cache key |
189 # XXX: need a better id for the image.. |
189 key = "tl_%d:%d_%d:%d:%d_%s" % (x, y, width, height, zl, image.path) |
190 key = "tl_%d:%d_%d:%d:%d_%s" % (x, y, width, height, zl, id(image)) |
|
191 |
190 |
192 # lookup |
191 # lookup |
193 data = cache.get(key) |
192 data = cache.get(key) |
194 |
193 |
195 else : |
194 else : |