See some suggestions inline below. Hope this helps get you started.<div><br></div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Server configuration (planned):<br>
Intel(R) Xeon(R) CPU X5460 @ 3.16GHz, 3 cores, 1.75 GB of RAM, Max of 3 GB burstable<br>
Linux 2.6.32-042stab044.17 on i686 (CenOS 6.2)<br></blockquote><div><br></div><div>This is probably overkill. Varnish/nginx are not that cpu intensive. You are probably fine with that amount of memory to get started.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Questions:<br>
How can I tell Varnish to enable cache on certain url and let pass cookies on others/rest of the site?<br></blockquote><div><br></div><div>Check out the docs on how to cache/not specific urls. Its pretty straight forward. See <a href="https://www.varnish-cache.org/docs/3.0/tutorial/vcl.html">https://www.varnish-cache.org/docs/3.0/tutorial/vcl.html</a>. One thing you want to do from the start is add a HIT/MISS header for debugging your configuration. See <a href="https://www.varnish-cache.org/trac/wiki/VCLExampleHitMissHeader">https://www.varnish-cache.org/trac/wiki/VCLExampleHitMissHeader</a>. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Having 500.000 visits/month what's the best practice for cache purge?<br></blockquote><div><br></div><div>Purge whenever you have new content. The purging is lazy, so you don't have to worry about purging being costly or effecting the operation.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How can i configure varnish and nginx, one serving cached pages and the other (nginx) serving static content like images ON THE SAME MACHINE. I have 2 spare IP address.<br></blockquote><div><br></div><div>This is pretty common. You can have nginx serve maint pages and static content then proxy_pass to varnish for the content you want cached.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have HyperCache plugin for Wordpress, it generates static files of the site and sends it to nginx to serve. APC also do its work. Should I disable HyperCache and let Varnish take care of the PHP content?<br>
More on HyperCache on <a href="http://www.satollo.net/plugins/hyper-cache" target="_blank">http://www.satollo.net/<u></u>plugins/hyper-cache</a></blockquote><div><br></div><div>Varnish is good at what it does. I would lean on varnish first so long as you can get the purging hooked in to wordpress. Since your content is updated on a schedule, you could probably purge by hand when new content is published.</div>
<div><br></div><div>Hope this helps,</div><div>Damon</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<br>
______________________________<u></u>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/<u></u>lists/mailman/listinfo/<u></u>varnish-misc</a><br>
</blockquote></div><br></div>