Search squid archive

Re: Check if object is already cached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Ulises,

I am unsure about what exactly you have asked.
There are constrains and there is a current interface to squid
internal DB of objects.
The basic way is to use whats already there but since there is too
much unknown about the script you are working on I would try to think
about:
- - HTCP
- - ICP

squidclient man pages may or may not help you.
I remember that there was a tool that pre-fetch content into squid.

Since squid caching algorithm became much more complex, there are
always some cases which you as a cache admin cannot predict unless you
have knowledge on how the system(you want to cache) works.

The complexity of HTCP and ICP is that they are built in a binary
format which for some might not be that simple to work with.

Eliezer

On 12/09/2014 07:04 PM, Ulises Nicolini wrote:
> Hello,
> 
> I'm working with some scripts to prefetch content but having some 
> trouble, what I can't work out is a way to check if a given object
>  is already cached, in other words, I want to check if the object 
> I'm going to download is going to hit, in which case I can ignore 
> it. I've read squidclient man page but could not find something 
> like it
> 
> Thanks
> 
> Ulises


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUiJQuAAoJENxnfXtQ8ZQU1cQH/jOhlog+jRtBK8LkI6MyN16Q
gC5wptWJeakwUdiCsQ5MCByqbhuuye5K0BJSijWQbpqy87uSmcT+sTc9FlvgkemH
lz4IRySgjiHQqosIgKh6vYl987bykJFeyBqHAVxfEmC+zOx0r3cIYmzhahdqM7rV
1wKPDchvT1RqkCiDjcJ16yz7fyMDIaHADAG2qiWvtkVYxGP/SQum0LImbf4qu3be
1FaiSEazUqSei4saUlT4vPGEB3akEUiEJdL/jXCOp5pMb6qClNvHd/tOe2yv4i0V
6P6Pc5G6qP0Oh4FJ9d5CBpg4wkEYwyrCpxptnJO7dhKPsnRaQvOWFs2w/I0Xhs8=
=M6fd
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux