Re: [squid-users] reverse proxy handling

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 8 Apr 2004 10:30:36 +0530

> On Wed, 7 Apr 2004, Muthukumar wrote:
>
> > A setup as online-server which gives dynamic content to the squid-accelerator.Squid seves the requests to multiple clients.
>
> Ok.
>
> > By defualt squid won't cache the dynamic content.
>
> Depends on why it is not cacheable and what your refresh_pattern say.
>
> > Is there a way to cache this by using the "vary_ignore_expire on" setting and changing the refresh_pattern to consider only
> > for example .php files as
>
> "vary_ignore_expire on" is only useful if your server also uses the Vary:
> header. In your case I think what you are looking for is refresh_pattern.
>

    server --- squid-load-balancer --- clients1 - n

        client 1-n requests shtml request to server
        server returns a http response to client
        client uses the http then to server to get live pictures

    Refresh pattern setting:
        refresh_pattern \.shtml$ 1 20% 2 override-expire

    Clarification needed here is,

        A client1 sends a resuest http://examp.com/test.shtml to squid load balancer.
        What will happened for this refresh pattern?
        Is there any modification occured on squid because of the refreshment of the page on client with in the 1-2 minutes
refresh_pattern.
        Will it direct it to the origin server when we use refresh within the 0-2 minutes period

        I have changed the setting as
        acl shtml dstdomain .examp
        always_direct deny shtml

        I want to allow the clients to get the pages from the squid-load-balancer.Dynamic contents on the origin server is given to
the
        load-balancer in the 2 minutes refresh time.

Regards,
Muthukumar.
Received on Wed Apr 07 2004 - 23:00:43 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT