Re:How an Optimizing Compiler Works
by MauranKilom on Monday November 11, 2019 @02:29PM
(#21508009)
The site goes into an endless reload loop when attempting to connect using HTTPS...
[ Parent
| on HN ]
Re:How an Optimizing Compiler Works
by Sohcahtoa82 on Monday November 11, 2019 @02:36PM
(#21508087)
Are you using HTTPS Everywhere or some other similar browser plugin?
When I used HTTPS, the page loaded fine, but then reloaded itself using HTTP, but didn't loop after that.
OP, you may want to look into figuring out why your page reloads using HTTP after loading just fine with HTTPS.
It's probably due to this script tag:
<script>if (window.location.protocol == "https:")
window.location.href = "http:" + window.location.href.substring(window.location.protocol.length);
</script>But why? Genuinely curious, is there a real reason why this might be done?
Honestly I do not remember at all why I put in that script tag. It was something to do with github-pages not supporting HTTPS properly in the past, the details escape me. I should probably remove it
May be he hates https :)
Re:How an Optimizing Compiler Works
by Sohcahtoa82 on Monday November 11, 2019 @05:41PM
(#21509710)
I'm flabbergasted as to why someone would ever think they need to do this.
Especially since the page loads just fine. It's not like it's relying on accessing some 3rd party resource that's only accessible via HTTP.