推荐学习书目
› 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
sujin190
V2EX  ›  Python

造个小轮子,通过 proxy 方式自动在网页中静态资源后面加上时间戳,强制刷新静态资源

  •  
  •   sujin190 ·
    snower · Jan 14, 2015 · 3509 views
    This topic created in 4281 days ago, the information mentioned may be changed or developed.
    2 replies  •  2015-01-15 09:41:42 +08:00
    jones
        1
    jones  
       Jan 15, 2015 via Android
    并发量上来性能堪忧啊,所有的响应内容都去扫一遍html响应内容查找一遍静态资源后缀,python的正则和字符串运算现在性能真的牛叉到可以忽略并发任性使用了?静态资源版本号还是前端构建工具发布的时候添加上比较好
    sujin190
        2
    sujin190  
    OP
       Jan 15, 2015   ❤️ 1
    @jones 这个只是用于调试的时候了,比如微信调试的时候就比较坑,没办法发刷缓存,每次改了都不生效,又没办法在pc上调试,真的到了线上,当然还是使用构建工具了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2250 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:29 · PVG 23:29 · LAX 08:29 · JFK 11:29
    ♥ Do have faith in what you're doing.