Articles of varnish

Large Woocommerce Site (83,000 items), What Can I Do?

So I have a really large woocommerce site (partsboss.co) that has around 83,000 items. It’s on VPS hosting with digitalocean, and things were running super fast until around 50,000 items. Now the site is just draaaaaaaaaging. It’s set up on Ubuntu with nginx, APC and Varnish caching. I’m not really sure where the bottle neck […]

WordPress + SSL + Varnish + Pound

Hello Im try install a SSL certificate with Pound and Varnish for a WordPress site. The Proxy is an independent server, and has been running fine (few years) with varnish. I’ve used pound and this setup (90% the same) on many custom sites, so am sure the configuration there is correct and the SSL certificate […]

Varnish with WordPress

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 […]

Separating HTTP and HTTPS content with WordPress, Varnish, and an SSL terminator?

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 […]

Varnish + W3 Total Page Cache

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).

Prevent WordPress from sending Cache-control http header

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, […]

Nginx + WordPress + HHVM: Why isn't Batcache working? Would Varnish help even more?

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 […]