V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
kenneth
V2EX  ›  Python

关于头像存储的一点小纠结。。。

  •  
  •   kenneth · 2012-12-20 14:44:54 +08:00 · 2748 次点击
    这是一个创建于 4162 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1.V2EX上的头像存了3份
    uid_large.png
    uid_normal.png
    uid_mini.png
    虽然空间暂用不多,但是为什么不直接在img设置width控制大小呢,这样好处可以节省硬盘空间。

    2.upyun好像可以实现自动生成各种规格的缩略图是基于什么原理?
    3 条回复    1970-01-01 08:00:00 +08:00
    iloahz
        1
    iloahz  
       2012-12-20 14:51:18 +08:00
    带宽和用户载入速度也很重要啊,磁盘还算相对便宜吧
    ElmerZhang
        2
    ElmerZhang  
       2012-12-20 15:05:17 +08:00
    Web服务所使用的各种资源中,磁盘是最便宜的,带宽是最贵的
    kenneth
        3
    kenneth  
    OP
       2012-12-20 15:07:33 +08:00
    @iloahz
    @ElmerZhang
    多谢楼上两位帮我解惑
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1701 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:45 · PVG 00:45 · LAX 09:45 · JFK 12:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.