Current time: 07-23-2017, 01:37 AM Hello There, Guest! (LoginRegister)

Thread Closed 
Varnish & SSL
04-27-2015, 05:27 PM
Post: #1
Varnish & SSL
I changed my DreamPress site to https and was wondering what impact that had on Varnish. I used the isvarnishworking.com test and it said it's running, but that the age is less than 1. The headers it shows have stuff like no-cache in the mix. Was wondering if it was https that was messing that up, or if it's even possible to use caching on https.

Any thoughts and/or best practices for that?
Find all posts by this user
04-28-2015, 05:17 PM
Post: #2
RE: Varnish & SSL
Hi Guygg,

While https and SSL do work fine on DreamPress, the Varnish caching aspect, unfortunately, will not work with https. Other caching can be configured for it via plugin, however. SSL requests are encrypted and Varnish does not know how to read those.

http://wiki.dreamhost.com/DreamPress#Is_...amPress.3F

If your site does rely on Varnish caching for a performance boost, it may be noticeably slower over https, otherwise it all works as it should.

https://www.varnish-cache.org/docs/trunk/phk/ssl.html

Hope this helps!
Find all posts by this user
04-30-2015, 09:04 AM (This post was last modified: 04-30-2015 09:31 AM by guygg.)
Post: #3
RE: Varnish & SSL
If I use a caching plugin, would there be any kinds of conflicts with Varnish? I don't see any domain setting to enable or disable Varnish, so I didn't know if it might dislike using a alternate caching plugin and cause any weirdness.

Also, any best recommended caching plugin for me to use on a DreamPress domain? W3 Total, perhaps?

Thanks
Find all posts by this user
05-05-2015, 02:24 PM
Post: #4
RE: Varnish & SSL
FWIW, for anybody else interested, WP Super Cache seems to be working well for me.
Find all posts by this user
08-05-2015, 10:22 PM
Post: #5
RE: Varnish & SSL
Varnish and SSL is an ongoing topic!

The basic solution is that you need to put something infront of your Varnish instance that supports SSL (normally an nginx server).

Or ofcourse you could use a cloud Varnish solution like https://www.section.io which takes care of SSL for you
Find all posts by this user
08-18-2015, 09:00 AM
Post: #6
RE: Varnish & SSL
Just FYI, this is something we're working on so you don't have to put anything in front of Varnish, we'll do it for you.
Visit this user's website Find all posts by this user
12-23-2015, 02:29 PM
Post: #7
RE: Varnish & SSL
(08-18-2015 09:00 AM)Ipstenu-DH Wrote:  Just FYI, this is something we're working on so you don't have to put anything in front of Varnish, we'll do it for you.

Mika - Any idea when this will be rolled out (if it hasn't already)? Would love to see this support as SSL is looking more and more appealing.
Find all posts by this user
12-30-2015, 09:57 AM
Post: #8
RE: Varnish & SSL
It's fixed! Goodness, we updated it ... in September? October maybe. SSL and Varnish are friends Smile

http://wiki.dreamhost.com/DreamPress#How...amPress.3F has been updated too.
Visit this user's website Find all posts by this user
06-09-2017, 08:04 AM
Post: #9
RE: Varnish & SSL
Not sure about the advisability of resurrecting an ancient thread, but I'm having similar difficulties with Varnish and SSL on Concrete5. Is there an easy fix for this? I would love to just turn Varnish off but can't figure out how to do that.
Find all posts by this user
06-09-2017, 04:31 PM
Post: #10
RE: Varnish & SSL
I saw your other post where you announced you solved the issue. Let's close this ancient thread Smile There is usually very little value in resurrecting them anyway: things have changed in so many years so whatever caused the issue in the first place, most likely is not there anymore and a new investigation needs to be done.
Find all posts by this user
Thread Closed 


Forum Jump: