I was talking to Dag Henning about compiling varnish on OSX earlier today at the press conference. Just wanted to paste the current show stopper here for reference:<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -include 
config.h -O2 -pipe -MT varnishd-cache_acceptor.o -MD -MP -MF ".deps/varnishd-cache_acceptor.Tpo" -c -o varnishd-cache_acceptor.o `test -f 'cache_acceptor.c' || echo './'`cache_acceptor.c; \<br>then mv -f ".deps/varnishd-cache_acceptor.Tpo" ".deps/varnishd-cache_acceptor.Po"; else rm -f ".deps/varnishd-cache_acceptor.Tpo"; exit 1; fi
<br>cache_acceptor.c: In function 'vca_acct':<br>cache_acceptor.c:170: error: 'CLOCK_REALTIME' undeclared (first use in this function)<br>cache_acceptor.c:170: error: (Each undeclared identifier is reported only once<br>cache_acceptor.c:170: error: for each function it appears in.)
<br>make[3]: *** [varnishd-cache_acceptor.o] Error 1<br>make[2]: *** [all-recursive] Error 1<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br><br>Dag Henning says this is because OSX does not have a clock_gettime system call, and that gettimeofday aint monotonous enough or something like that... :-) I will try to dig more into the issue.
<br><br>Other first impressions from testing out Varnish:<br><br>We need more docs. Specially on making VCL policies.<br><br>varnish does not seem to set X-Forwarded-For ? (Maybe it's not common to do it, but it's how my framework deals with  reverse proxies)
<br clear="all"><br>-- <br>With regards<br>Marcus Ramberg