Re: [squid-users] Cache API

2012-07-09 Thread Amos Jeffries
On 10.07.2012 07:32, Abhishek Chanda wrote: Hi Amos, I was wondering if there is a documentation for the fields reported by CacheManager. I was looking at the objects report and I assumed, 'File 0X' means that the hex code is a hash of the file and 'GET http://www.iana.org/domains/exa

Re: [squid-users] Cache API

2012-07-09 Thread Abhishek Chanda
Hi Amos, I was wondering if there is a documentation for the fields reported by CacheManager. I was looking at the objects report and I assumed, 'File 0X' means that the hex code is a hash of the file and 'GET http://www.iana.org/domains/example/' means that the original requester issued a

Re: [squid-users] Cache API

2012-07-08 Thread Abhishek Chanda
Hi Amos, Thanks for the detailed response. This helps. Thanks On Fri, Jul 6, 2012 at 8:18 PM, Amos Jeffries wrote: > On 7/07/2012 5:41 a.m., Abhishek Chanda wrote: >> >> Hi Amos, >> >> I need to have a list of all files cached in a network which has >> multiple instances of Squid running. So, I

Re: [squid-users] Cache API

2012-07-06 Thread Amos Jeffries
On 7/07/2012 5:41 a.m., Abhishek Chanda wrote: Hi Amos, I need to have a list of all files cached in a network which has multiple instances of Squid running. So, I was looking for an API to query the cache and retrieve metadata about the files there. Is there a better way to do this? "Files"?

Re: [squid-users] Cache API

2012-07-06 Thread Abhishek Chanda
Hi Amos, I need to have a list of all files cached in a network which has multiple instances of Squid running. So, I was looking for an API to query the cache and retrieve metadata about the files there. Is there a better way to do this? Thanks for the link Waitman, I will look into it. Thanks

Re: [squid-users] Cache API

2012-07-06 Thread Waitman Gobble
On 7/6/2012 12:00 AM, Amos Jeffries wrote: On 6/07/2012 12:15 p.m., Abhishek Chanda wrote: Hi all, Does Squid have an API to query the content of the cache? I am aware of contentmgr.cgi, but I am looking for an API that I can call from my code. Thanks Why would your code want to reach into t

Re: [squid-users] Cache API

2012-07-06 Thread Amos Jeffries
On 6/07/2012 12:15 p.m., Abhishek Chanda wrote: Hi all, Does Squid have an API to query the content of the cache? I am aware of contentmgr.cgi, but I am looking for an API that I can call from my code. Thanks Why would your code want to reach into the code of another program and do things?

[squid-users] Cache API

2012-07-05 Thread Abhishek Chanda
Hi all, Does Squid have an API to query the content of the cache? I am aware of contentmgr.cgi, but I am looking for an API that I can call from my code. Thanks