用户头像应保存在私人目录中吗?

编程入门 行业动态 更新时间:2024-10-24 04:48:23
本文介绍了用户头像应保存在私人目录中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在建立一个社区站点,目前正在编写一个脚本,该脚本生成缩略图并将其存储在我们的文件系统中.

I am building a community site and i'm currently writing a script that generates thumbnails and stores them on our filesystem.

我应该将头像存储在私有目录中吗?还是可以将这种类型的文件放在CDN之类的公共资产目录中?

Should I be storing the avatars in a private directory? or is it OK for that type of file to be in a public assets directory like a CDN?

为什么或为什么不呢?

推荐答案

到处搜索并查看其他站点.尤其是Google Plus不会将其头像保存在私人目录中.

After searching around and looking at other sites. Google Plus in particular does not save their avatars in a private directory.

实际上,它们的头像是从公共CDN访问的,并被提供并与实际搜索结果混合.

In fact, their avatars are accessed from a public CDN and are served up and mixed in with actual search results.

所以我想答案是否定的,没有必要将化身设为私人

So I guess the answer is no, it isn't necessary to make avatars private

更多推荐

用户头像应保存在私人目录中吗?

本文发布于:2023-11-02 08:24:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551885.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:头像   私人   用户   目录中

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!