I'm new too :) , so not sure if this is the best way, but something
like this might work?

sub vcl_recv {
   if (  req.url ~ "\.(aspx)$"  || req.url ~ "^/$" ) {
      # don't lookup cache for .aspx pages or root /
      return(pass);
   } else {
     return(lookup);
   }
}

Best, David

On Tue, Feb 15, 2011 at 9:57 PM, Xynidakis, Tony A
<[email protected]> wrote:
> Hi all
>
> This is my first post and still learning Varnish
>
> in the configs for varnish, we set up the caching rules not to cache .aspx
> pages.
>
> our home page is the root domain  http://v8supercars.com.au
>
> in the varnish trace the request is 'GET /' which makes sense but without
> the .aspx extension it's doesn't get fall into the .aspx rule that we have.
>
> is there additional rules that we need to add into the configs.
>
> Kind regards
>
> Tony
>
>
>
> Tony Xynidakis
> Content and Media - BigPond
> Phone (: (03) 9632 8161
> Fax 1: (03) 9600 1235
> Mobile (: 0419 110 409
> Email *: [email protected]
> Address : Level 32, 300 Latrobe St, Melbourne, Vic, 3000
>
>
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to