Ikai, is there any way of doing this asynchronously (like URLFetch fetch()
calls)?
Eg: (copied mostly from
http://code.google.com/appengine/docs/python/urlfetch/asynchronousrequests.html
)
from google.appengine.api import images
# ...
blob_keys = [..., ..., ..]
blob_key_serving_urls = []
Yes, you can cache the result. In practice, subsequent calls of
get_serving_url on the same blob should be faster, but if you have more new
blobs than old ones on a page it can be slow. The resulting URL only becomes
invalid if the blob is deleted.
On Tue, Aug 24, 2010 at 1:53 PM, Flips
Hi,
how do I use get_serving_url correctly if I'd like to host a gallery
of 28 pictures? I currently fetch all blob_keys and call 28 times the
get_serving_url method to get my image urls. But this attempt is
really slow (about 12 seconds). Would it be smarter to call
get_serving_url if the blob