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 … Read more

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 … Read more

Varnish + W3 Total Page Cache [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7 years ago. Improve this question I currently have varnish setup on my server. I’m also using the W3 Total Cache plugin to speed up the site … Read more

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 … Read more

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, … Read more