I have moved my WordPress site (a small blog) onto a hosting platform with Varnish at its front. Varnish, rightly, won’t cache when cookies exist. It looks like WordPress starts the session, even if it doesn’t need it. As such, it sets the PHPSESSID cookie, even though a var_dump() of $_SESSION is empty (when done […]
Background: I host a WordPress site with a hosting company that places a combined Varnish server + SSL terminator system upstream of my web server. The WordPress site runs on Apache and is accessible over both HTTP and HTTPS via the Varnish+SSL terminator. The setup looks like this: Image credit: DigitalOcean (For reference, DigitalOcean is […]
I currently have varnish setup on my server. I’m also using the W3 Total Cache plugin to speed up the site through a CDN. Question: Is there any point in using varnish if the pages are being cached and severed through the CDN? (Does this make varnish redundant).
My site sits on a server that uses Varnish as a (powerful) caching engine. Unfortunately, it seems wordpress is busting the Varnish cache by sending a cache-control http header. If I curl -I domain.com I get: HTTP/1.1 200 OK Server: Apache/2.4.10 X-Powered-By: PHP/5.4.4-14+deb7u14 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, […]
I’ve heard great things about HHVM, so I’ve setup a copy of WordPress blog (on another domain) with Nginx (with the Pagespeed module) and HHVM. Right now the benefits are obvious: on the same config, load times are between two and three times faster. I’m trying to speed up things a little bit, and I’ve […]