For a reverse proxy setup (squid-2.6), I have several stanzas like the
following...
acl static_content urlpath_regex -i \.(jpg|jpeg|gif|png)$
cache allow static_content
refresh_pattern -i \.(jpg|jpeg|gif|png)$ 0 20% 4320 ignore-auth
A few of these regex's can be pretty long. For config readability, I
was wondering if refresh_pattern can be made to reuse the regex acl
defined in the first line. For a pattern similar to the following....
acl static_images urlpath_regex -i \.(jpg|jpeg|gif|png)$
cache allow static_images
refresh_pattern static_images 0 20% 4320 ignore-auth
The docs seem to suggest that this won't work currently, so I guess my
question is really what do the developers think about enabling this
pattern?
Ric