Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
造个小轮子,通过 proxy 方式自动在网页中静态资源后面加上时间戳,强制刷新静态资源
sujin190
·
snower
·
Jan 14, 2015
· 3569 views
This topic created in 4310 days ago, the information mentioned may be changed or developed.
静态
proxy
轮子
2 replies
•
2015-01-15 09:41:42 +08:00
1
jones
Jan 15, 2015 via Android
并发量上来性能堪忧啊,所有的响应内容都去扫一遍html响应内容查找一遍静态资源后缀,python的正则和字符串运算现在性能真的牛叉到可以忽略并发任性使用了?静态资源版本号还是前端构建工具发布的时候添加上比较好
2
sujin190
OP
Jan 15, 2015
1
@
jones
这个只是用于调试的时候了,比如微信调试的时候就比较坑,没办法发刷缓存,每次改了都不生效,又没办法在pc上调试,真的到了线上,当然还是使用构建工具了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2834 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 13:08
·
PVG 21:08
·
LAX 05:08
·
JFK 08:08
♥ Do have faith in what you're doing.
❯