【问题标题】:Gzip compression for WebSphere application server 8.0WebSphere 应用程序服务器 8.0 的 Gzip 压缩
【发布时间】:2017-01-17 05:23:35
【问题描述】:

我正在使用 primefaces 6.0 和 myfaces。我正在使用 WebSphere 应用程序服务器 8.0。我想知道使用 8.0 的 html、js 和 css 文件的 gzip 压缩技术

【问题讨论】:

  • 使用 OmniFaces(无论如何你都应该使用 ;-))
  • 我同意@wtlucy(不知道我的示例链接在哪里)
  • 我正在尝试使用omnifaces GzipResponseFilter,但我遇到了这个异常。 java.lang.ClassNotFoundException: org.omnifaces.filter.GzipResponseFilter

标签: primefaces websphere gzip jsf-2.2 websphere-8


【解决方案1】:

您必须获取并配置第三方 gzip 压缩过滤器。它不是由服务器为应用程序提供的。

【讨论】:

  • 我使用了omnifaces gzip过滤器。传输的文件大小有很大差异,但内容下载时间更长。
猜你喜欢
  • 2011-01-26
  • 1970-01-01
  • 2020-04-07
  • 2015-07-24
  • 2018-07-30
  • 1970-01-01
  • 1970-01-01
  • 2011-08-08
  • 2011-10-23
相关资源
最近更新 更多