Re: [squid-users] squid proxy for apache web server

From: Cliff Small <[email protected]>
Date: Tue, 5 Nov 2002 14:05:41 -0800 (PST)

Thanks for your help Brian. I agree that an
application could be written but I would think that
Squid could be configured to do this for me. It seems
that the Squid server could act like a gateway for the
apache web server. If apache needs a page from the
net it could use the Squid server for this. If the
page isn't cached then squid would retrieve the page
and serve it to apache. I'm not trying to limit what
squid will cache but I do want it to cache the pages
that my php script needs from the web.

Depending on the traffic and use of this site, these
pages could number in the millions so I need a really
robust and proven program like Squid to do this for
me.

Thanks,
Cliff
--- Brian <hiryuu@envisiongames.net> wrote:
> Squid will not cache objects that specifically
> request to not be cached.
>
> This really sounds like a task better suited for an
> application-level
> solution. Something like...
>
> foreach url in list
> if file is older than x
> get new version of file
> if get was successful
> save new version
>
> use file
>
> Not only do you have perfect control over how and
> when the page expires,
> it will easily survive an origin server or network
> outage. You can even
> grind it down to some meta-page format to make the
> later parsing easier.
>
> -- Brian
>
> On Tuesday 05 November 2002 03:17 pm, you wrote:
> > I have a script that downloads several html pages
> and
> > parses them for specific data. When a user on my
> site
> > clicks a link, the php script will download
> several
> > html pages (15-20 with each page from a different
> web
> > site). The total process for each user can take
> as
> > long as 20-30 seconds. The actual page parsing
> takes
> > less than one second.

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
Received on Tue Nov 05 2002 - 15:05:42 MST

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