[squid-users] Squid doesn't cache videos from a certain domain

From: Antonio Modesto <modesto_at_isimples.com.br>
Date: Thu, 22 Dec 2011 13:54:54 -0200

Hi,

    I am fighting against squid to force it to cache this URL:
http://video7.mais.uol.com.br/12381354.mp4?ver=1 (not just this, but
all videos from this domain), the problem is that squid doesn't cache
this request, this is what appears in my store.log file:

1324560790.606 RELEASE -1 FFFFFFFF 2FD92A422AC987FBB0B269179C548E98 200
1324567969 1324548223 786297600 application/octet-stream 4910033/4910033
GET http://video7.mais.uol.com.br/12381354.mp4?ver=1

I have added this refresh_pattern for this url, but it has not worked:

refresh_pattern ^http://video.*\.mais\.uol\.com\.br\/.*\.mp4\? 5259487
99999% 5259487 override-expire reload-into-ims
stale-while-revalidate=2592000 ignore-private

Here is some info about my Squid (is actually lusca):

Squid Cache: Version LUSCA_HEAD-r14809
configure options: '--bindir=/usr/local/sbin'
'--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
'--libexecdir=/usr/local/libexec/squid'
'--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
'--enable-removal-policies=lru heap' '--disable-linux-netfilter'
'--disable-linux-tproxy' '--disable-epoll' '--enable-http-violations'
'--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA
PAM MSNT SMB YP' '--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-ntlm-auth-helpers=SMB' '--with-pthreads'
'--enable-storeio=aufs null coss' '--disable-carp' '--enable-icmp'
'--disable-wccp' '--disable-ident-lookups' '--with-large-files'
'--enable-large-cache-files' '--enable-stacktraces'
'--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech
Danish Dutch English Estonian Finnish French German Greek Hebrew
Hungarian Italian Japanese Korean Lithuanian Polish Portuguese Romanian
Russian-1251 Russian-koi8-r Serbian Simplify_Chinese Slovak Spanish
Swedish Traditional_Chinese Turkish'
'--enable-default-err-language=English' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
'--build=amd64-portbld-freebsd8.1'
'build_alias=amd64-portbld-freebsd8.1' 'CC=cc' 'CFLAGS=-O2 -pipe -g
-fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS=' 'CPP=cpp'

Does anybody know what I can do to cache these videos?
Received on Thu Dec 22 2011 - 15:54:57 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 23 2011 - 12:00:03 MST