Squid in front of mogilefs

Brad Fitzpatrick brad at danga.com
Tue Jun 26 21:04:55 UTC 2007

Squid speaks HTTP to the thing behind it, so you need something that Squid
talks to that speaks HTTP, translating the pretty end-user URIs into
intenral Mogile paths, and injecting your application-specific caching

Yes, MogileFS storage nodes speak HTTP internally, but there's a lot
of them (so which does Squid point to?), and they don't have good cache
headers (how can they know your caching rules?), and don't have pretty

So what you want is probably:

   browser <-> squid <-> Perl/PHP/etc <-> mogilefsd

On Tue, 26 Jun 2007, benchmark wrote:

> I want to use Squid so that it caches files/images
> that are stored in mogilefs. So I'd like to see the
> following:
> browser<-->squid<-->mogileFS
> Note that put/store to mogileFS is done separately,
> squid here is just for caching.
> 1) is this possbile?
> 2) if so, is there any special setup I'd have to do?
> thanks.
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
> http://smallbusiness.yahoo.com/webhosting

More information about the mogilefs mailing list