flask-optimize:优化烧瓶:缓存,最小化html和gzip响应

时间:2024-02-26 00:56:05
【文件属性】:

文件名称:flask-optimize:优化烧瓶:缓存,最小化html和gzip响应

文件大小:9KB

文件格式:ZIP

更新时间:2024-02-26 00:56:05

python flask gzip-response FlaskPython

烧瓶优化 使用缓存进行烧瓶优化,最小化html并压缩响应 优化参数 init_app: config:全局配置 默认: { 'html' : { 'htmlmin' : True , 'compress' : True , 'cache' : 'GET-84600' }, 'json' : { 'htmlmin' : False , 'compress' : True , 'cache' : False }, 'text' : { 'htmlmin' : False , 'compress' : True , 'cache' : 'GET-600' } } h


【文件预览】:
flask-optimize-master
----setup.py(1KB)
----.gitignore(191B)
----requirements.txt(26B)
----flask_optimize()
--------__init__.py(81B)
--------optimize.py(7KB)
----.travis.yml(297B)
----MANIFEST.in(36B)
----LICENSE(1KB)
----setup.cfg(123B)
----README.md(2KB)
----tests()
--------templates()
--------__init__.py(21B)
--------run_app.py(1KB)
----CONTRIBUTORS.txt(0B)
----CHANGES.md(117B)

网友评论