Re: Troubleshooting a Wordpress website

2015-03-23 Thread Miguel Gonzalez
Dear Nick,   Thanks for answering. I'm not trying to cache dynamic content. I'm trying to accomplish that Varnish sends to the backend those requests but It seems I'm not succeeding.   How can I troubleshoot this?   Many thanks,   Miguel De: nick tailor Para: Miguel González CC: "varni

increase hitrate

2015-04-16 Thread Miguel Gonzalez
Dear all,    I have been testing my varnish configuration using tools.pingdom.com, webpagetest.org and loadimpact.com and apache benchmark.   I  have Varnish 4.0 in front of an Apache installation from Cpanel in a VPS with 6 Gb with 100 mbps of bandwith.  I'm realizing that i can only get a hitra

Re: increase hitrate

2015-04-16 Thread Miguel Gonzalez
Running a curl -I against a txt file,  I get this: HTTP/1.1 200 OK Date: Thu, 16 Apr 2015 17:20:02 GMT Vary: Accept-Encoding,User-Agent Last-Modified: Thu, 23 Sep 2010 14:56:01 GMT Cache-Control: max-age=3600, public Expires: Thu, 16 Apr 2015 18:20:02 GMT Pragma: public Content-Type: text/plain Age

Re: increase hitrate

2015-04-16 Thread Miguel Gonzalez
, Miguel De: Miguel Gonzalez Para: "varnish-misc@varnish-cache.org" Enviado: Jueves 16 de abril de 2015 16:44 Asunto: increase hitrate Dear all,    I have been testing my varnish configuration using tools.pingdom.com, webpagetest.org and loadimpact.com and apache benchmark.

normalizing ?ver= css and js

2015-05-12 Thread Miguel Gonzalez
Dear all,   I have Varnish 4 installed, in vcl_recv I have added this line:   set req.url = regsub(req.url, "\?ver=.*$", "");     which supposedly normalizes all css and js ?ver= strings.    However tools.pingdom.com reports there are still css and js files being delivered with those strings

Re: troubleshooting Varnish purges vs bans

2017-08-09 Thread Miguel Gonzalez
And what would be the right way to purge all the objects in the url? Or it can only be done with ban? Regards, Miguel Dridi Boukelmoune wrote: >On Wed, Aug 9, 2017 at 1:00 PM, Miguel González > wrote: >> On 08/09/17 11:54 AM, Dridi Boukelmoune wrote: - ReqMethod PURGE - Req

Re: config error

2017-08-21 Thread Miguel Gonzalez
Which error are you getting? Rodney Bizzell wrote: >Hello, > >I am not sure why I am getting a config error can't see what I am missing here >is a copy of my config. > > >backend stgncwrite { >.host = "stg.ncwrite.com"; >.port = "80"; >.connect_timeout = 5s; >.first_byte_timeout

Re: config error

2017-08-21 Thread Miguel Gonzalez
/varnish/default.vcl >Expected '.' got 'backend' >(program line 94), at >('/etc/varnish/default.vcl' Line 36 Pos 1) >backend stgpegwritingscholar { > #######--- > > >

Re: htaccess redirects not working after a while

2018-12-11 Thread Miguel Gonzalez
Here you have it: # The data on which the hashing will take placesub vcl_hash {        hash_data(req.url);        if (req.http.host) {        hash_data(req.http.host);        } else {        hash_data(server.ip);        }        # If the client supports compression, keep that in a different cach

Re: htaccess redirects not working after a while

2018-12-13 Thread Miguel Gonzalez
I use Varnish 4.1, can I just add in the vcl_hash this? | # Cache the HTTP vs HTTPs separately | | | if (req.http.X-Forwarded-Proto) { | | | hash_data(req.http.X-Forwarded-Proto); | | | } |   En jueves, 13 de diciembre de 2018 10:05:20 CET, Mattias Geniar escribió: > Here y

Migration from 4.1 vcl

2019-10-09 Thread Miguel Gonzalez
Hi, I am migrating from 4.1 and I am scared that with latest version varnish would break. What should I take into account when migrating from 4.1? Regards, Miguel___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish

benchmarking varnish

2013-03-12 Thread Miguel Gonzalez
Dear all,   I have a Varnish 3 installation pointing to an Apache Server. Any manual of how to tune Varnish, OS, Apache and any manual of how to test Varnish considering it's a cache tool?   I have search around and so far I haven't found something like this:   http://www.joedog.org/articles-t

Varnish and mod_pagespeed

2013-05-10 Thread Miguel Gonzalez
Dear all,    I have Varnish as a front-end and an Apache/PHP running a Symfony application as a backend.    I had mod_pagespeed enabled in Apache long time before I decided to put Varnish in front of it. It worked well.    Since we decided to put Varnish in front, we are getting many errors lo