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   442 Views

Avatar
swaiba

Forum Moderator, 1799 Posts

23 October 2011 at 1:01am

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

Forum Moderator, 1799 Posts

5 November 2011 at 2:14am

** bump **

any help would be greatly appreciated!

Avatar
MarcusDalgren

Community Member, 288 Posts

5 November 2011 at 2:34am

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

Community Member, 288 Posts

5 November 2011 at 2:39am

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