V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  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
gitshell
V2EX  ›  Python

Gitshell 静态文件发布机制

  •  
  •   gitshell · Sep 12, 2013 · 3259 views
    This topic created in 4623 days ago, the information mentioned may be changed or developed.
    在生产环境中,为了减少请求数和流量,静态文件需要进行合并,压缩,版本化;而开发环境中,开发者为了能快速编辑和预览效果,所以尽可能使用原始 js/css 文件依赖,这个看起来有点矛盾,成熟的web框架比如 Ruby on Rails 提供了一些解决方法。本文来介绍一下 Gitshell 简单的解决方案。
    具体可以见博客
    http://gitshell.1kapp.com/?p=173
    1 replies    1970-01-01 08:00:00 +08:00
    turing
        1
    turing  
       Sep 12, 2013
    我大Grunt已经一统node.js代码测试,校验,合并,部署和发布的天下了。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1033 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:28 · PVG 02:28 · LAX 11:28 · JFK 14:28
    ♥ Do have faith in what you're doing.