Search squid archive

Re: Is there a way to select a cache peer before URL rewrite occur ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amos, thanks for your answer

> The problem being that after the re-write the destination domain has in
> fact altered. Whether a peer is involved or not. That is what re-writing
> means.

Yes... I know....

> Make the web server at localhost understand that it has two public domains
> being serviced.
> Only re-write the path portion of the domain to get the right file path, if
> at all. Removing the need for re-writing will give a further large increase
> in speed.

My example was just to give an idea. My backend servers are a bit more
complicated,
since they are Zope with Plone (and VirtualHostMonster).  The way it
implements virtual host is (primarily) in the 'path' part of URL, not
in the 'hostname' part. So a 'pre re-write'
peer selection should be nice :-)


bests regards
Lucas Brasilino

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux