[squid-users] Re:Re:Re:Re:Re:Re:Planning to change the content of the object.

From: <maer727@dont-contact.us>
Date: Sun, 19 May 2002 12:26:49 +0800 (CST)

----- Original Message -----
From: Yee Man Chan
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re:Re:Re:Re:Re:Planning to change the content of the object.
Sent: Sun May 19 02:54:20 CST 2002

> As big as you can afford to. The old value 1<<14 is
> 16KB, so you can only process web objects in their
> entirety up to that size.
>
> BTW, it seems to me you are trying to process images.
> I don't think you are really decoding the image to
> determine what to replace. I think you are better off
> using redirector.
>
> Cheers,
> Yee Man
> --- maer727@sohu.com wrote:
> > Thanks, Yee pal!
> >
> > What is the value should I use? Do you remember the
> > range of the value that is sound?
> >
> > Best regards,
> > George Ma
> >
> > ----- Original Message -----
> > From: Yee Man Chan
> > To: maer727@sohu.com
> > Cc: squid-dev@squid-cache.org
> > Subject: Re:Re:Re:Re:Planning to change the content
> > of the object.
> > Sent: Wed May 15 23:06:39 CST 2002
> >
> > >
> > > --- maer727@sohu.com wrote:
> > > > Thanks, Yee pal!
> > > >
> > > > I find the definition of READ_AHEAD_GAP in
> > > > defines.h. Here,
> > > >
> > > > #define READ_AHEAD_GAP (1<<14)
> > > >
> > > > What is your method? Can you give me your codes?
> >
> > > >
> > > > Another question, what is the meaning and
> > function
> > > > of
> > > > "READ_AHEAD_GAP"?
> > >
> > > If I remember correctly, the is the number of
> > bytes a
> > > MemObject will store in the memory until squid
> > push it
> > > back to the client. Bigger value allows you to
> > process
> > > most HTMLs in its entirety. I lost the code after
> > I
> > > was laid off from my last job. :(
> > >
> > > Yee Man
> > >
> > > >
> > > > Best regards,
> > > > George Ma
> > > >
> > > > ----- Original Message -----
> > > > From: Yee Man Chan
> > > > To: maer727@sohu.com
> > > > Cc: squid-dev@squid-cache.org
> > > > Subject: Re:Re:Re:Planning to change the content
> > of
> > > > the object.
> > > > Sent: Tue May 14 13:15:49 CST 2002
> > > >
> > > > > The trick I used before is increase the value
> > of
> > > > > READ_AHEAD_GAP.
> > > > >
> > > > > Yee Man
> > > > > --- maer727@sohu.com wrote:
> > > > > > Thanks, Yee pal!
> > > > > >
> > > > > > The biggest trouble to me is I cannot get
> > the
> > > > html
> > > > > > content of
> > > > > > a specific URL. They are often released. The
> > > > .jpg
> > > > > > and .js are easy
> > > > > > to change (I have successfully changed one
> > .jpg
> > > > to
> > > > > > another.)
> > > > > >
> > > > > > Do you have some suggestions to resolve the
> > > > trouble?
> > > > > >
> > > > > >
> > > > > > Another question, what means "I did it
> > before
> > > > > > myself" in your reply?
> > > > > >
> > > > > > Best regards,
> > > > > > George Ma
> > > > > >
> > > > > > ----- Original Message -----
......
Received on Sat May 18 2002 - 22:26:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:09 MST