[squid-users] caching question
Alex Samad
alex at samad.com.au
Wed Aug 26 02:10:42 UTC 2015
Hi
Sorry, answered my own question.
acl nonCacheURL urlpath_regex .*/x86_64/repodata/repomd.xml$
cache deny nonCacheURL
seems like "" makes it look for a file ?
On 26 August 2015 at 11:59, Alex Samad <alex at samad.com.au> wrote:
> Hi
>
> Sorry add more info
>
> I have this already in my squid.conf
> acl nonCacheDom dstdomain -i "/etc/squid/lists/nonCacheDom.lst"
> cache deny nonCacheDom
>
>
> I presume i can add something similiar but with urlpath_regex
>
> acl nonCacheURL urlpath_regex ".*/x86_64/repodata/repomd.xml"
> cache deny nonCacheURL
>
>
> A
>
> On 26 August 2015 at 11:56, Alex Samad <alex at samad.com.au> wrote:
>> Hi
>>
>> I want to get squid to not cache urls that terminate like this
>>
>> updates/x86_64/repodata/repomd.xml
>> os/x86_64/repodata/repomd.xml
>>
>> How do I organize that.
>>
>> Having problems with old repmod.xml files making my yum updates fail..
>>
>> Alex
More information about the squid-users
mailing list