Bug 811011

Summary: Fix apache configuration to speed up webUI
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Jason E. Rist <jrist>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cpelland, cwelton, mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:32:12 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 Justin Sherrill 2012-04-09 20:52:29 UTC
Description of problem:

Currently the apache server is not configured optimally for web page access.  With a few modifications we can increase the speed by up to 50%.

changes to  /etc/httpd/conf.d/katello.conf



ExpiresActive On
<Directory "/usr/share/katello/public/assets">
  ExpiresDefault "access plus 1 year"
</Directory>
<Directory "/usr/share/katello/public//public/images">
  ExpiresDefault "access plus 1 year"
</Directory>


KeepAlive On

Comment 1 Justin Sherrill 2012-04-10 17:40:14 UTC
katello master commit:

3e78c402ba5fc2b2d095d5c76a683834873dcc27

Comment 3 Justin Sherrill 2012-04-11 20:33:06 UTC
system engine commit:
9ecac200e234584aa4342b1ddc570546c5258956

Comment 4 Corey Welton 2012-04-17 16:48:38 UTC
Testing notes: The following change is what landed in the build:

  ExpiresActive On
  <Directory "/usr/share/katello/public/">
    ExpiresDefault "access plus 1 year"
  </Directory>

Dev indicated it was opted to just apply the directive to the parent directory versus the two individual child directories above.

Verified in brew build - Version: 0.1.310-1.el6_2

Comment 6 Mike McCune 2013-08-16 18:20:41 UTC
getting rid of 6.0.0 version since that doesn't exist