Bug 676902
Summary: | Add Cache-Control: max-age header for static pages to decrease page load time | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Trevor McKay <tmckay> |
Component: | cumin | Assignee: | Trevor McKay <tmckay> |
Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.3 | CC: | iboverma, jross, jsarenik, matt |
Target Milestone: | 2.0 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cumin-0.1.4519-2.el5 | Doc Type: | Bug Fix |
Doc Text: |
Cause
Static resources in cumin use the "If-Mpdified-Since" http header but are not setting a cache expiration date.
Consequence
Static content is not transferred for resources which are cached by the browser, but there is still round trip communication to the server when a resource is loaded. This overhead is unnecessary and negatively affects cumin performance.
Change
Add a Cache-Control max-age header to all static resources served by cumin.
Result
Setting the expiration times on static resources results in a significant improvement in the number of pages per second that can be served by cumin.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-23 15:40:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 693778 |
Description
Trevor McKay
2011-02-11 18:22:58 UTC
Fixed in trunk, revision 4519. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Static resources in cumin use the "If-Mpdified-Since" http header but are not setting a cache expiration date. Consequence Static content is not transferred for resources which are cached by the browser, but there is still round trip communication to the server when a resource is loaded. This overhead is unnecessary and negatively affects cumin performance. Change Add a Cache-Control max-age header to all static resources served by cumin. Result Setting the expiration times on static resources results in a significant improvement in the number of pages per second that can be served by cumin. Verified in cumin-0.1.4683-1.el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0889.html |