On 26/08/2015 2:10 p.m., Alex Samad wrote: > Hi > > Sorry, answered my own question. > > acl nonCacheURL urlpath_regex .*/x86_64/repodata/repomd.xml$ > cache deny nonCacheURL Almost exactly like that. Just without the ".* at the start of the pattern. All regex patterns are assumed to start and end with .* by default unless you specify the ^ or $ start/end anchors explicitly. > > seems like "" makes it look for a file ? Yes. If those old files were delivered without Expires/Cache-Control headers (or if you used override-expires on *.xml) then your refresh_pattern are the cause of the old files being cached too long in the first place. This pattern will prevent them being stored heuristically, but otherwise let the repos cache controls work as designed by the repo operators. refresh_pattern /repodata/repomd.xml$ 0 0% 0 Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users