缩小金字塔的html页面

pyramid-htmlmin的Python项目详细描述


金字塔htmlmin

为棱锥体绑定htmlmin库。

用法:

pyramid.includes =
  pyramid_htmlmin

# uncomment lines to override default settings.

# Send gzipped minifed code when possible (defaults to True)
# pyramid_htmlmin.gzip_if_accepted = True

# the settings here are default value of htmlmin.minify methods,
# provided by htmlmin version 0.1.5
# htmlmin.remove_comments = False
# htmlmin.remove_empty_space = False
# htmlmin.remove_all_empty_space = False
# htmlmin.reduce_empty_attributes = True
# htmlmin.reduce_boolean_attributes = False
# htmlmin.remove_optional_attribute_quotes = True
# htmlmin.keep_pre = False

更改日志

0.6(2017-07-19)

  • Don’t stick Pyramid to version 1.5

0.5(2015-06-16)

  • Minified in gzip the response if possible

0.4(2015-06-30)

  • Minified exceptions renderered pages too

0.3(2015-01-21)

  • don’t raise when the content type response is not set.

0.2(2014-10-20)

  • minify options are now configurable via Pyramid settings.

0.1(2014-10-13)

  • Initial version.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何修改打印板?   java Spring批处理JdbcCursorItemReader还是RepositoryItemReader?   java如何在JTable Swing中增加标题列的字体?   java在数组方面遇到问题,导致表达式非法启动   java如何为maven pom的某些部分关闭Eclipse代码格式化程序。xml   java Dropwizard登录代码   java Jersey 2.22:客户端的默认连接超时是多少?   java无法自动连接字段:javax。sql。数据来源   如何从java中的行列表中获取单词列表?   java JDBC批量更新和处理异常?   计算大根:bigdecimal/java   java如何在JavaCC语法中提到trycatch块   javasocket。getInetAddress()不返回任何内容   oracle SQL开发人员错误无法找到Java虚拟机   java我如何计算和显示未来5年每一年的投资价值   java如何关闭浏览器选项卡?   java如何在showMessageDialog中打印双2D数组?   java从站点抓取播放列表URL?   selenium中的java点击css按钮