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 <[email protected]> wrote: > 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 has been created and store the image url > in datastore? > > Best Regards > Philip > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
