Re: Varnish and Wordpress + Firewall

2014-11-14 Thread Javier Casares
You can try that https://wordpress.org/plugins/wordpress-varnish-as-a-service/ On Fri, Nov 14, 2014 at 10:34 PM, Andrew Langhorn andrew.langh...@digital.cabinet-office.gov.uk wrote: Okay. So you have a caching plug-in for WordPress. I'm not sure how W3 Total Cache works. To start with, it

Re: varnish 3.0 + mobile app

2014-03-06 Thread Javier Casares
Try sub identify_device { if (req.http.User-Agent ~ mobileapp ) { set req.http.X-UA-Device = mobileapp; } else { set req.http.X-UA-Device = pc; } } And sub vcl_hash { if (req.http.X-UA-Device) { hash_data(req.http.X-UA-Device); } }

Persistent file size limit

2012-07-16 Thread Javier Casares
if persistent cache fails when files arrives to 8GB or something? Thanks! Javier Casares http://javiercasares.com/ ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: How to match domains starting with admin

2012-07-09 Thread Javier Casares
Is not easy... if (req.http.host ~ domain1 || req.http.host ~ domain2) { set req.backend = domain1_domain2; } or something like this? I use this and works fine to me. Javier Casares http://javiercasares.com/ 2012/7/9 Abraham Cruz Sustaita abraham.susta...@buscacorp.com: I have three

Re: Zero-Downtime Servicing of a Varnish Server Behind a F5 BIG-IP

2012-07-09 Thread Javier Casares
https://www.varnish-cache.org/docs/3.0/reference/varnishd.html sess_timeout Units: seconds Default: 5 Idle timeout for persistent sessions. If a HTTP request has not been received in this many seconds, the session is closed. ¿? Javier Casares http://javiercasares.com

Re: Zero-Downtime Servicing of a Varnish Server Behind a F5 BIG-IP

2012-07-09 Thread Javier Casares
If sess_timeout is set by default to 5 seconds, you could try to set this to 4, 3, 2 or 1 and test if has a better performance... i suposse that set this to 0 will close all connectiond and seems to be an epic fail... Javier Casares http://javiercasares.com/ 2012/7/9 Steven Engelhardt senge

Re: High BackendReuse Rate Problem

2012-06-29 Thread Javier Casares
I usually see the same... the first backend in a director taks a little bit more traffic that the others... I see it in 3.0.1 and 3.0.2, not tried in 3.0.3 Javier Casares http://javiercasares.com/ 2012/6/29 Lusurf Lui lus...@foxmail.com: Hi, I'm using the Varnish-Cache-3.0.2 and have been

Re: Load Balancing and Varnish

2012-06-26 Thread Javier Casares
¿Why don't you use Varnish as a LB? https://www.varnish-cache.org/trac/wiki/LoadBalancing Javier Casares http://javiercasares.com/ 2012/6/26 Allan Brand allan.br...@gmail.com: Greetings, I'm new to Varnish and I've seen a number of discussions where Varnish is used in conjunction

Re: varnish exclude parts

2012-06-11 Thread Javier Casares
, i'll appreciate, i'm a complete beginner to varnish. Best Regards, -- Javier Casares http://javiercasares.com/ ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: Multiple storage with multiple backends

2012-06-08 Thread Javier Casares
) { set beresp.storage = memoria; } else { set beresp.storage = disco; } } Javier Casares http://javiercasares.com/ ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org

Multiple storage with multiple backends

2012-05-18 Thread Javier Casares
backend, or by host or something similar? How can I do it? Javier Casares http://javiercasares.com/ ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Re: Multiple storage with multiple backends

2012-05-18 Thread Javier Casares
I'll try it! If works i'll publish a sample code :) Javier Casares http://javiercasares.com/ 2012/5/18 Per Buer pe...@varnish-software.com Hi, On Fri, May 18, 2012 at 12:27 PM, Javier Casares jav...@casares.org wrote: I'm readin this: -s [name=]type[,options]    Use the specified