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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

SSL in Admin means really slooow (often timesout)


Go to End


4 Posts   763 Views

Avatar
swaiba

Forum Moderator, 1899 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, 1899 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?