Re: [squid-users] i have problem for first request

2012-04-13 Thread Mohsen Pahlevanzadeh
27; '--enable-carp' '--with-large-files' '--with-maxfd=65536' --with-squid=/usr/src/squid-3.1.19 --enable-ltdl-convenience and squid.conf is its defual.conf + cache_effectiv_user and group directives. On Thu, 2012-04-12 at 00:42 +1200, Amos Jeffries wrote: > On 11/04/2012 11

Re: [squid-users] i have problem for first request

2012-04-11 Thread Mohsen Pahlevanzadeh
apache rep_header Server ^Apache broken_vary_encoding allow apache extension_methods REPORT MERGE MKACTIVITY CHECKOUT coredump_dir /var/spool/squid On Wed, 2012-04-11 at 14:02 +0430, Mohsen Pahlevanzadeh wrote: > Dear all, > > I run squid under debian, my when i restart squid or squid -z , my

[squid-users] i have problem for first request

2012-04-11 Thread Mohsen Pahlevanzadeh
Dear all, I run squid under debian, my when i restart squid or squid -z , my client has problem with first open facebook.com, it's very slow, but in the next request is not slow.slow means 45 minutes, i tested myself. but youtube or other site doesn't has problem in first request. Even facebook ca

Re: [squid-users] invalid url in curl

2011-08-10 Thread Mohsen Pahlevanzadeh
On Wed, 2011-08-10 at 16:56 +1200, Amos Jeffries wrote: > On Tue, 09 Aug 2011 19:57:47 +0430, Mohsen Pahlevanzadeh wrote: > > On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: > >> On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: > >> > Dear all, > >>

Re: [squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: > On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: > > Dear all, > > > > I recall when use squidclient "url" and our url is not valid, now i > > tested with telnet google, and save html file too google.

[squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
Dear all, I recall when use squidclient "url" and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable: -- curl -H "HTTP/1.1 200 OK" -H "Date: Tue, 09 Aug 2011 12:12:54 GMT" -H "Expires: Thu, 08 Sep 2011

[squid-users] sending file

2011-08-08 Thread Mohsen Pahlevanzadeh
Dear all, Suppose i save as vi browser a web page such as google.com, yahoo.com and blah blah.So,I want to sending a web page to squid and squid cache it, but i don't know sequence of files and http headers, What i do append to http for accepting from squid? --mohsen signature.asc Description:

[squid-users] dump from cache

2011-08-02 Thread Mohsen Pahlevanzadeh
Dear all, I'm using milestone 3.1.14, I need to dump cache and use it in the other squid, its not for sysadmin aspect, it's a test, when i use "squid -z;squid", then i use 'squidclient "http://google.com";',i see with cachemgr and it was chached.But didn't anything in /opt/squid/var/cache Questi

[squid-users] ICP or HTCP

2011-07-23 Thread Mohsen Pahlevanzadeh
Dear all, I need to run squid that never any responds.(such as MISS and so on.)I decides to use cache_peer, Of course , speed of between 2 machine is very critical for me.Because i have just 2 machine: ICP or HTCP? which has better efficiency? --mohsen signature.asc Description: This is a digi

[squid-users] no-cache and origin servers

2011-07-14 Thread Mohsen Pahlevanzadeh
Dear all, Suppose i have an origin server and squid, my origin server fill cache header and send squid-box, now if put no-cache squid does cache my page? It's very important that squid doesn't response.How do i implement it? Yours, Mohsen signature.asc Description: This is a digitally signed me

[squid-users] RFC2616 and old http

2011-07-14 Thread Mohsen Pahlevanzadeh
Dear all, I read in RFC2616 the following context: "When a directive appears without any 1#field-name parameter, the directive applies to the entire request or response. When such a directive appears with a 1#field-name parameter, it applies only to the named field or fields, and not to

Re: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
solution? --mohsen On Sat, 2011-07-02 at 15:07 +0430, Mohsen Pahlevanzadeh wrote: > I fill response.txt file with the following text: > HTTP/1.1 200 OK > Date: Mon, 23 May 2005 22:38:34 GMT > Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) > Last-Modified: Wed, 08 Jan 2003 23:11:55 G

Re: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
I fill response.txt file with the following text: HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Etag: "3f80f-1b6-3e1cb03b" Accept-Ranges: bytes Content-Length: 438 Connection: close Content-Type: text/h

RE: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
Why you question it? -mohsen On Sat, 2011-07-02 at 07:24 +, Jenny Lee wrote: > Are you cloning interent for Iran? > > Jenny > > > Dear all, > > > > i have a squid server and separate server which has a million page from > > million URL,you know that i can insert page into cache via "squidc

[squid-users] insert into cache

2011-07-01 Thread Mohsen Pahlevanzadeh
Dear all, i have a squid server and separate server which has a million page from million URL,you know that i can insert page into cache via "squidclient MYURL",but it uses GET http command and download page,now i have this page and just wanna insert into cache(already downloaded), do you have sol

Re: [squid-users] Jobs

2011-06-29 Thread Mohsen Pahlevanzadeh
On Wed, 2011-06-29 at 21:04 +1200, Amos Jeffries wrote: > On 29/06/11 19:28, Mohsen Pahlevanzadeh wrote: > > On Wed, 2011-06-29 at 02:32 +1200, Amos Jeffries wrote: > >> On 29/06/11 01:37, Mohsen Pahlevanzadeh wrote: > >>> On Tue, 2011-06-28 at 06:01 -0700, John

Re: [squid-users] Jobs

2011-06-29 Thread Mohsen Pahlevanzadeh
On Wed, 2011-06-29 at 02:32 +1200, Amos Jeffries wrote: > On 29/06/11 01:37, Mohsen Pahlevanzadeh wrote: > > On Tue, 2011-06-28 at 06:01 -0700, John Doe wrote: > >> From: Mohsen Pahlevanzadeh > >> > >>>>> We must write a program that along with normal t

Re: [squid-users] Jobs

2011-06-28 Thread Mohsen Pahlevanzadeh
On Tue, 2011-06-28 at 06:01 -0700, John Doe wrote: > From: Mohsen Pahlevanzadeh > > >>> We must write a program that along with normal tasks, it had do a > >>> variety of jobs,But i need to PURGE and insert cache. > > I must a write a web appl thet

Re: [squid-users] Squid SDK

2011-06-28 Thread Mohsen Pahlevanzadeh
Dear Amos, I must a write a web appl thet it manages squid with many extra job. normal job: every work that squid can do. Variety of job: a range of task that my boss ordered. Yours, Mohsen On Tue, 2011-06-28 at 18:40 +1200, Amos Jeffries wrote: > On 28/06/11 16:21, Mohsen Pahlevanzadeh wr

[squid-users] ext4 vs reiserfs

2011-06-27 Thread Mohsen Pahlevanzadeh
Dear all, I don't know to use which ext4 stable or reiserFS for squid. Which has high performance? Yours, Mohsen signature.asc Description: This is a digitally signed message part

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
fries wrote: > On Mon, 27 Jun 2011 17:12:32 +0430, Mohsen Pahlevanzadeh wrote: > > I know it, and compiled it, But can i get hook or i must hack it for > > a > > syscall? i need to on demand delete Object from cache same PURGE, But > > want to use it in my code. > > A

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
binary format and dont have its source, you can go to > > www.squid-cache.org > > and download it ! > > Em 27/06/11 04:33, Mohsen Pahlevanzadeh escreveu: > > Dear all, > > > > I know that squid doesn't release its SDK, but i need to its >

[squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
Dear all, I know that squid doesn't release its SDK, but i need to its syscall.What i do? Do you know good way for using squid syscall? Yours, Mohsen signature.asc Description: This is a digitally signed message part