[squid-users] Caching content-ype : video/MP2T

Farid Agha fagha at olfeo.com
Wed Jan 15 16:43:34 UTC 2020


Hi all, 

After reading archives and FAQ, I send this email.  

My main
goal is to cache segments of a live video. The content-type is
video/MP2T and the extension is .ts 

I'm actually in explicit proxy and
the cache is working fine for all files except this content-type. 


Here after my configuration : 

# Begin "Cache
Rules"
maximum_object_size_in_memory 2048 KB
memory_replacement_policy
lru
cache_mem 512 MB 

maximum_object_size 32768 KB
minimum_object_size
1 KB
cache_replacement_policy lru
cache_dir ufs
/opt/olfeo/data/proxy/cache 5000 16 256 

cache_swap_low
85
cache_swap_high 95 

delay_pools 1
acl acl_bw_0_categorylist note
urlgroup theme_5
delay_class 1 3
delay_parameters 1 10000/20000 -1/-1
5000/10000
delay_access 1 allow acl_bw_0_categorylist
delay_access 1
deny all 

#refresh_pattern ^ftp: 1440 20% 10080
#refresh_pattern
^gopher: 1440 0% 1440
refresh_pattern . 0 100% 4320 ignore-no-store


request_header_access Cache-Control deny all
cache allow all 

My
squid version is : 4.4 

An access.log portion :  

1579103694.775 42
10.12.0.6 TCP_MISS/200 1154117 GET
http://xxx.xxx.net/i/2_1@799489/segment157910368_700_av-p.ts? -
HIER_DIRECT/104.123.50.35 video/MP2T
1579103704.762 42 10.12.0.6
TCP_MISS/200 1223301 GET
http://xxx.xxx.net/i/2_1@799489/segment157910369_700_av-p.ts? -
HIER_DIRECT/104.123.50.35 video/MP2T
1579103714.688 70 10.12.0.6
TCP_MISS/200 1205253 GET
http://xxx.xxx.net/i/2_1@799489/segment157910370_700_av-p.ts? -
HIER_DIRECT/104.123.50.35 video/MP2T

Somebody has experience on that,
is that possible ? 

Thank you, 

Farid 

Do you see any error, is that
for you possible ? 

Thanks,
BR

  


Farid Agha 
Directeur du Customer Success
t : +33184177173 m : +33636497378
e : fagha at olfeo.com [mailto:%emailaddress%] w : www.olfeo.com [https://www.olfeo.com/]
4 rue de Ventadour, 75001 Paris
[http://www.linkedin.com/company/olfeo?trk=hb_tab_compy_id_234636] [https://twitter.com/olfeo] [http://www.youtube.com/user/OlfeoTV?feature=mhee] [https://www.facebook.com/societeolfeo]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-disclaimer-649115605-0.png
Type: image/png
Size: 23421 bytes
Desc: x-disclaimer-649115605-0.png
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-disclaimer-649115605-1.png
Type: image/png
Size: 6498 bytes
Desc: x-disclaimer-649115605-1.png
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-disclaimer-649115605-2.png
Type: image/png
Size: 6249 bytes
Desc: x-disclaimer-649115605-2.png
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-disclaimer-649115605-3.png
Type: image/png
Size: 3936 bytes
Desc: x-disclaimer-649115605-3.png
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-disclaimer-649115605-4.png
Type: image/png
Size: 7179 bytes
Desc: x-disclaimer-649115605-4.png
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200115/034adb5d/attachment-0009.png>


More information about the squid-users mailing list