Super User Asked by Trevor Sullivan on October 26, 2020
I’m running Squid in a Docker container, thanks to the b4tman/squid
image on Docker Hub.
maximum_object_size 300 MB
so that I could cache larger files.cache_dir ufs /var/cache/squid 2000 16 256
cache_mem 800 MB
However, when I try to download certain files, they aren’t being cached. I can tell, because the files are downloading again, on my slower internet connection.
I tried adding this line:
refresh_pattern -i .(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-no-store ignore-private
The files below ARE being cached by Squid, and download instantaneously.
The following files are NOT being cached in Squid.
.zip
and .tar.gz
files from GitHub releases – exampleQuestion: How can I discover why Squid isn’t caching certain files, while other files are being properly cached?
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP