Goal: for the pattern given, cache the response for a given time, no matter what.
So far my squid.conf
looks like this:
refresh_pattern -i \.git/info/refs 3600 100% 3600 ignore-reload ignore-no-store ignore-private override-expire override-lastmod
However, the freshness is still validated on every request:
1665672549.558 236 10.0.2.100 TCP_REFRESH_MODIFIED/200 771 GET https://github.com/appuio/component-openshift4-version.git/info/refs? - HIER_DIRECT/140.82.121.3 application/x-git-upload-pack-advertisement
1665672549.966 155 10.0.2.100 TCP_REFRESH_MODIFIED/200 782 GET https://github.com/appuio/component-openshift4-version.git/info/refs? - HIER_DIRECT/140.82.121.3 application/x-git-upload-pack-advertisement
1665673113.935 149 10.0.2.100 TCP_REFRESH_MODIFIED/200 783 GET https://github.com/appuio/component-openshift4-version.git/info/refs? - HIER_DIRECT/140.82.121.4 application/x-git-upload-pack-advertisement
1665673114.614 442 10.0.2.100 TCP_REFRESH_MODIFIED/200 777 GET https://github.com/appuio/component-openshift4-version.git/info/refs? - HIER_DIRECT/140.82.121.4 application/x-git-upload-pack-advertisement
How can I enforce squid to cache this URL for an hour?