Bug 847906

Summary: Enable mod_deflate, mod_gzip on front-end Apache
Product: OKD Reporter: Rob Millner <rmillner>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: jhou, mfisher, spousty, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:48:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Millner 2012-08-14 01:03:21 UTC
Request: from IRC thesteve0 on #openshift

Enable mod_deflate and mod_gzip on the front-end Apache for html, css, js, json, and xml mime types.

Comment 1 Steven Citron-Pousty 2012-08-14 01:04:39 UTC
It should be added to 000000_default.conf
In the reverse proxy layer

Comment 2 Rob Millner 2012-09-12 23:58:27 UTC
Li commit b4b9d7e adds the relevant changes to devenv.  Will be merged at the beginning of the next release.

This must be added to the release ticket for the next release.

Comment 3 Rob Millner 2012-09-17 21:27:16 UTC
Merged to master; waiting on a release ticket for 2.0.18 to complete.

Comment 4 Xiaoli Tian 2012-09-21 05:27:55 UTC
li pull request 369 has been merged since devenv_2177, move it to ON_QA to verify.

Comment 5 Jianwei Hou 2012-09-21 06:58:09 UTC
Verified on devenv_2209

Steps:
Launch instance and login, vim /etc/httpd/conf.d/000000_default.conf, check compression is enabled.

......
AddOutputFilterByType DEFLATE text/html text/plain application/xml text/xml text/css application/javascript text/javascript application/json text/json
......

Comment 6 Rob Millner 2012-09-22 00:03:40 UTC
This ticket is not resolved yet; requires update to the release ticket.

Comment 7 Rob Millner 2012-09-25 18:33:19 UTC
In the release ticket.

Comment 8 Rob Millner 2012-09-27 17:47:51 UTC
My solution relied on a deprecated command.  Do-over.

Comment 9 Rob Millner 2012-09-28 00:58:46 UTC
New pull request and comment added.