简体   繁体   English

图像阵列的“源”字段是持久的还是改变?

[英]Are “source” fields for image array persistent, or do they change?

Does anyone know if the source field in the images array for photos is persistent? 有人知道照片的图像数组中的字段是否持久吗? Seems like it's a dynamic pointed into the FB CDN - we're trying to figure out if it's safe to cache those links in our DB, or if the photo should always be re-queried before we load it? 似乎它是指向FB CDN的动态指针-我们正在尝试找出将这些链接缓存到数据库中是否安全,还是在加载之前始终应重新查询照片? Do they change over time? 它们会随着时间变化吗? Locale? 语言环境?

"images": [
            {
               "height": 1152,
               "width": 2048,
               "source": "http://sphotos-d.ak.fbcdn.net/hphotos-ak-ash4/s2048x2048/394054_352972968053308_1128645961_n.jpg"
            },

Yes.. this is a CDN hosted image. 是的..这是CDN托管的映像。 The URL is likely to change depending on server load and the users location. URL可能会根据服务器负载和用户位置而改变。 I don't recommend caching those URL's. 我不建议缓存那些URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM