How long does URL from ImagesService.getServingUrl last

天大地大妈咪最大 提交于 2019-12-07 06:27:04

问题


I'm working with the blobstore and imagesService in App Engine. I'm wondering how long a URL I get from imagesService.getServingUrl(blobKey) will last. If I'm using this to store a users profile picture, can I store this URL in the user or should I store the BlobKey and get the servingUrl each time i need the picture?


回答1:


The URL will last indefinitely. You should definitely still store the blobkey anyway, though, or you will have no way to delete blobs once you no longer need them, or to get alternate image serving URLs.



来源:https://stackoverflow.com/questions/4643892/how-long-does-url-from-imagesservice-getservingurl-last

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!