Change Request: prevent certain files from being cached in proxies
Bug #32473 reported by
Sirius Rayner-Karlsson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer-utils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
preseed (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
While working on a automated netinstall system I came across a problem that Colin Watson helped me with.
I was using a Squid proxy to cache package files, so as to lighten the need to go off-lan for each and every machine that is installed or updated. This _also_ caches files like Packages.gz. When I swapped out the loop-mounted Dapper Flight3 for Flight4, the proxy had cached Packages.gz from Flight3, causing MD5 mismatch when trying to install from out of the Flight4 ISO.
Files that are retrieved over the network, that do not have version numbers in their names, could probably be retrieved with proxies in mind and a "Cache-Control: no-cache" header passed in the request.
Thanks,
Changed in preseed: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
apt already sends appropriate Cache-Control: max-age headers for these, so Squid should always re-validate Packages files against the remote web server