Troubleshooting a Wordpress website

Miguel Gonzalez miguel_3_gonzalez at yahoo.es
Mon Mar 23 16:45:12 CET 2015


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 <nick.tailor at gmail.com>
 Para: Miguel González <miguel_3_gonzalez at yahoo.es> 
CC: "varnish-misc at varnish-cache.org" <varnish-misc at varnish-cache.org> 
 Enviado: Lunes 23 de marzo de 2015 16:42
 Asunto: Re: Troubleshooting a Wordpress website
   
Hi Miguel,
I'm just guessing based on the filename "style_dynamic_responsive.php" 
I don't think you can cache dynamic content ?
Cheers
Nick Tailornicktailor.com


On Sun, Mar 22, 2015 at 4:21 PM, Miguel González <miguel_3_gonzalez at yahoo.es> wrote:

Dear all,

    I have a Centos 6.6 running Cpanel with Apache 2.4 with PHP 5.5 running a Wordpress website.

    The first time it loads the website it loads fine, you move around the website and varnishncsa.log get the entries and apache too and seems to be fine.

    When I try to go to the Home section of the website, it doesn´t load completely. If I hit  Ctrl + F5 I get in the apache logs the following entries:

    127.0.0.1 - - [22/Mar/2015:23:54:13 +0100] "GET /wp-content/uploads/js_composer/custom.css HTTP/1.1" 200 - "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:13 +0100] "GET /wp-content/themes/hazel/css/style_dynamic_responsive.php HTTP/1.1" 200 171 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:13 +0100] "GET /wp-content/themes/hazel/css/custom_css.php HTTP/1.1" 200 2 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:13 +0100] "GET /wp-content/themes/hazel/css/style_dynamic.php HTTP/1.1" 200 4698 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:15 +0100] "GET /wp-content/themes/hazel/js/default_dynamic.php HTTP/1.1" 200 1530 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:15 +0100] "GET /wp-content/themes/hazel/js/custom_js.php HTTP/1.1" 200 102 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"
127.0.0.1 - - [22/Mar/2015:23:54:16 +0100] "GET /wp-content/themes/hazel/js/ajax.min.js HTTP/1.1" 200 3841 "http://mydomain.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0"

   which I believe should have been forwarded to the backend in the first place.

   I attach my default.vcl file (I have changed the IP address of the backend)

   Regards,

   Miguel

_______________________________________________
varnish-misc mailing list
varnish-misc at varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc




-- 
Nick Tailor
Senior Linux Systems Administrator
BCLC, 2940 Virtual Way, Vancouver B.C. V5M 0A6
T 604 228 3046  C 778 388 1397

Connect with us:
Twitter @BCLC| Twitter @BCLCGameSense | YouTube | Blog | bclc.com Last year, more than $1 billion generated by BCLC gambling activities went back into health care, education and community groups across B.C.



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150323/acb6b58c/attachment-0001.html>


More information about the varnish-misc mailing list