I think that get_serving_url can be better than something like 
/static/images... if not for performance then for convenience and 
consistency to serve blobs from the blobstore. I think get_serving_url and 
blobstore are very good projects not only for performance but also 
convenience and that get_serving_url could continue to add more image 
functions like filters and/or processing and also for audio and video so 
that we can upload uncompressed media and serve it compressed via appengine 
and python libraries (while many multimedia codecs depend on C we could see 
more codecs in the future with python/java or Go). 

I thought it could be good to use the blobstore like a filesystem so now 
I've got both a handler for blobstore:

/file

As well as my old handlers that serve static files I redploy with the 
application

/images
/img
/static/(js|css|...)
/_

If your static files are video or images that need resizing you might want 
to use the blobstore instead of including them in the project directory. I 
asked myself this too not only for performance reasons but also convenience 
i.e. putting source code in the datastore and/or blobs in the blobstore 
treating my application images like I treat user's uploaded images which 
would have the convenience of ability to change the upload with no 
redeployment.

I think blobstore can be an alternative for anything that is a "file" 
especially since it already has image resize and might get more functions 
like conversion etc so we don't have to reinvent basic stuff like image 
resize and
I hope google adds more functions to get_serving_url especially for media 
files like audio and video. 

Wouldn't it be good if you could upload for instance uncompressed audio or 
video to blobstore and you could serve it with different codecs and 
different compression i.e. just add the parameter mp3 to the get_serving_url 
and then you'd get the output in mp3 and all you'd do is use the builtin 
functions. 

Best regards,
Niklas

-- 
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/-/A-WnVv4zvJwJ.
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