Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 467383

Summary: Force to cache rpm files for one year
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: Proxy ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.2CC: pkilambi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:02:14 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: 456551    

Description Miroslav Suchý 2008-10-17 09:02:31 UTC
Description of problem:
From rhn-satellite-users:
This discussion was long time ago but I've been reading something about squid configuration for proxy servers on wan connection. As the rpm files content will not change while having the same name (including version and release) I think it could be a good practice to have rpm files cached for long (even months), I've fount that following line can be used:

refresh_pattern  \.rpm$  10080 90% 10080 override-expire override-lastmod ignore-reload reload-into-ims

to have the packages stored for 6 months, what can be quite convenient in these cases.

Has anyone tested this configuration?, do you see any problem with it?

------------

I see no problems with this. I even do see problem with bumping up the numbers to:
refresh_pattern  \.rpm$  10080 100% 525960 override-expire override-lastmod ignore-reload reload-into-ims

FYI: 525960 == 365 days, ie. one year.

Comment 1 Miroslav Suchý 2008-10-17 09:10:44 UTC
Commited as faecc285309cdb102a791c97cfcc5e0f6d8ccbe8
Tagged package spacewalk-proxy-installer-0.3.3-1

Comment 2 Pradeep Kilambi 2008-11-04 22:48:13 UTC
see the override expire in the pkg..verified

Comment 3 Miroslav Suchý 2009-09-17 07:02:14 UTC
Spacewalk has been released for some time.