Bug #35870
mod_expires is not loaded
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Description
In #34590 the default modules were no longer loaded, but this also disabled mod_expires. This makes #33956 less effective. It is still an improvement over serving assets via Rails, but it doesn't allow the browser to aggressively cache assets.
It should be noted that mod_expires in puppetlabs-apache is a bit special. I ran into this in https://github.com/puppetlabs/puppetlabs-apache/pull/2288, so the fix may be needed in multiple places.
Associated revisions
History
#1
Updated by The Foreman Bot 4 months ago
- Assignee set to Ewoud Kohl van Wijngaarden
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/puppet-foreman/pull/1101 added
#2
Updated by Evgeni Golov 3 months ago
- Category set to Foreman modules
#3
Updated by Evgeni Golov 3 months ago
- Found in Releases 3.3.0, 3.4.0 added
#4
Updated by Evgeni Golov 3 months ago
- Bugzilla link set to 2160056
#5
Updated by The Foreman Bot 3 months ago
- Fixed in Releases 3.6.0 added
#6
Updated by Ewoud Kohl van Wijngaarden 3 months ago
- Target version set to 3.5.2
#7
Updated by Ewoud Kohl van Wijngaarden 3 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman|a132b682b3cae9e9d2d3d94fd285bc1a7d73fff1.
#8
Updated by The Foreman Bot 2 months ago
- Pull request https://github.com/theforeman/foreman-installer/pull/829 added
#9
Updated by The Foreman Bot 2 months ago
- Fixed in Releases 3.5.2 added
#10
Updated by Ewoud Kohl van Wijngaarden about 1 month ago
- Triaged changed from No to Yes
Fixes #35870 - Ensure mod_expires is loaded
In case only minimal Apache modules are loaded then mod_expires may not
be present. The result is that assets are sent without headers that
allow browsers to cache it.