Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SSL in Admin means really slooow (often timesout)


Reply

4 Posts   426 Views

Avatar
swaiba

23 October 2011 at 1:01am Forum Moderator, 1796 Posts

I've recently added SSL to a site and then admin area (with a left and main decorator, that redirects each request to https if just http).
But I've had to remove it because the site loads so slooooooow and often timesout and doesn't load at all - basically unusable.

Can anyone offer advice on whether this is "normal" or if there is something I can do to solve the situation please?

Avatar
swaiba

5 November 2011 at 2:14am Forum Moderator, 1796 Posts

** bump **

any help would be greatly appreciated!

Avatar
MarcusDalgren

5 November 2011 at 2:34am Community Member, 288 Posts

Can't you just set the base url to https://whatever and that fixes all other urls in the admin and on the site? The way you're doing it now you're essentially doubling all requests so of course that's very slow. I've not tried to run a site in SSL myself so I don't know but doing a redirect via decorator means that the whole stack loads before the redirect happens which is not a good thing of course.

Avatar
MarcusDalgren

5 November 2011 at 2:39am Community Member, 288 Posts

Also there's Director::forceSSL() have you tried that?