#4: Improve support for varying squid versions
We should support Squid 2.6 and possibly Squid 3.0 and even some older versions of Squid.
- Proposed by
- Justin Ryan
- Seconded by
- Balazs Ree
- Proposal type
- Architecture
- Assigned to release
- Repository branch
- bitmonk-squid-2.6
- State
- in-progress
Motivation
The current squid config generator works with version 2.5STABLE6 up to 2.5STABLE14, but nothing newer or older. This code is no longer the newest or fastest, and some commercial OS distributions provide slightly older code, i.e. 2.5STABLE3, which we are not compatible with.
Proposal
Our template needs to be able to generate configuration and helper scripts tailored to perform optimally with a given squid version.
Implementation
- Add a version option to squid.cfg
- Add conditional code in our squid.conf and other templates which decides how to generate config based on version
Deliverables
A squid config template which generates OOTB working config for:
- Squid 2.5STABLE3
- Squid 2.5STABLE6-14
- Squid 2.6
- Squid 3.0 ?
Risks
This could make the squid template(s) more difficult to maintain.
Progress log
- I have a working configuration and test setup for 2.6STABLE3 which may even be 3.0-compatible and performs much better than the old config in 2.5.
- There are untested changes to the config templates in a branch, feedback welcome.
Participants
Justin Ryan
