推荐学习书目
› 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 · Dec 20, 2012 · 3443 views
    This topic created in 5037 days ago, the information mentioned may be changed or developed.
    1.V2EX上的头像存了3份
    uid_large.png
    uid_normal.png
    uid_mini.png
    虽然空间暂用不多,但是为什么不直接在img设置width控制大小呢,这样好处可以节省硬盘空间。

    2.upyun好像可以实现自动生成各种规格的缩略图是基于什么原理?
    3 replies  •  1970-01-01 08:00:00 +08:00
    iloahz
        1
    iloahz  
       Dec 20, 2012
    带宽和用户载入速度也很重要啊,磁盘还算相对便宜吧
    ElmerZhang
        2
    ElmerZhang  
       Dec 20, 2012
    Web服务所使用的各种资源中,磁盘是最便宜的,带宽是最贵的
    kenneth
        3
    kenneth  
    OP
       Dec 20, 2012
    @iloahz
    @ElmerZhang
    多谢楼上两位帮我解惑
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2308 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:58 · PVG 17:58 · LAX 02:58 · JFK 05:58
    ♥ Do have faith in what you're doing.