On Fri, Sep 9, 2011 at 4:13 PM, andreas schmid <[email protected]> wrote:
> why should the blobstore be faster?

http://code.google.com/appengine/docs/python/images/overview.html#Transforming_Images_from_the_Blobstore

and get_serving_url()


> On Sep 9, 2011, at 5:02 PM, Ubaldo Huerta wrote:
>
> I wonder what's the prescribed way to serve an asset image (say, a site
> logo)
> 1-The easy way, using static handlers specified in app.yaml
> 2-Uploading them via the blobstore api
> I realize that 1 is simpler to do but I wonder if the fact that doing it via
> blobstore it would be served faster.  For one thing, it comes from a
> different domain and the request comes back without cookies. Now, is there a
> difference in cost?

You will have to pay a bit for storage in the blobstore, where in
effect static storage is free.

Otherwise bandwidth usage is the same.

Another benefit of static is you can explicitly set caching headers -
for both the edge-cache and the browser cache. The blobstore urls,
have a default caching header I beleive - but you cant set a really
long caching time.

Also static requests can follow you around on version automatically
(ie different version so a app will get different files automatically)
whereas that will have to be done manually with the blobstore.

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/fVSpDS4gRBoJ.
> 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.
>
> --
> 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.
>

-- 
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.

Reply via email to