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
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);
}
}
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
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
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
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
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
¿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
, 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
) {
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
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
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
12 matches
Mail list logo