Re: [squid-users] Enable caching

2023-06-26 Thread ngtech1ltd
I added the script to a gist just to keep it reachable: https://gist.github.com/elico/dfccc0905bc223c68c483e5074a6484a Eliezer From: squid-users On Behalf Of Andrey K Sent: Thursday, June 22, 2023 12:09 To: Alex Rousskov Cc: squid-users@lists.squid-cache.org Subject: Re: [squid-users

Re: [squid-users] Enable caching

2023-06-22 Thread Andrey K
Hello, Alex, Thank you very much! Kind regards, Ankor чт, 22 июн. 2023 г. в 05:23, Alex Rousskov : > On 4/5/23 09:27, Alex Rousskov wrote: > > On 4/5/23 06:07, Andrey K wrote: > > > >> Previously, caching was disabled on our proxy servers. Now we need to > >> cache some content (files abo

Re: [squid-users] Enable caching

2023-06-21 Thread Alex Rousskov
On 4/5/23 09:27, Alex Rousskov wrote: On 4/5/23 06:07, Andrey K wrote: Previously, caching was disabled on our proxy servers. Now we need to cache some content (files about 10 MB in size). So we changed the squid.conf: cache_dir ufs /data/squid/cache 32000 16 256 max-size=1200 We have

Re: [squid-users] Enable caching

2023-04-11 Thread Alex Rousskov
On 4/11/23 07:05, Andrey K wrote: I have written a simple perl script that outputs the contents of the metadata of the rock database slots Maybe it will be useful for other squid users. *rock_cache_dump.pl Thanks a lot for sharing this neat script! I am sure it will be handy, at least as

Re: [squid-users] Enable caching

2023-04-11 Thread Andrey K
Hello Alex, Thanks for the help. I have written a simple perl script that outputs the contents of the metadata of the rock database slots Maybe it will be useful for other squid users. *rock_cache_dump.pl * #!/usr/bin/perl use strict; use warnings; use Data::Dumper; use

Re: [squid-users] Enable caching

2023-04-06 Thread Alex Rousskov
On 4/6/23 09:08, Andrey K wrote: Could you tell me if there is a way to view the objects (URLs) and their statuses stored in the rock file? There is no visualization software for rock db storage. One can obviously use xxd and similar generic tools to look at raw db bytes, even in a running S

Re: [squid-users] Enable caching

2023-04-06 Thread Andrey K
Hello Alex, Thank you for the explanations. Could you tell me if there is a way to view the objects (URLs) and their statuses stored in the rock file? I tried unsuccessfully to find this information using squidclient in mgr:menu. You gave me a very useful link: https://wiki.squid-cache.org/Featu

Re: [squid-users] Enable caching

2023-04-05 Thread Alex Rousskov
On 4/5/23 06:07, Andrey K wrote: Previously, caching was disabled on our proxy servers. Now we need to cache some content (files about 10 MB in size). So we changed the squid.conf: cache_dir ufs /data/squid/cache 32000 16 256 max-size=1200 We have 24 workers on each proxy. UFS-based c

[squid-users] Enable caching

2023-04-05 Thread Andrey K
Hello, Previously, caching was disabled on our proxy servers. Now we need to cache some content (files about 10 MB in size). So we changed the squid.conf: #Disable caching #cache deny all #no_cache deny all #cache_mem 0 cache_dir ufs /data/squid/cache 32000 16 256 max-size=1200 We have 24 w