When you site runs HTTPS
Implenting HSTS preload.
Check this on: https://hstspreload.org
You can add the follow code in you htaccess on the first:
Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload” env=HTTPS
And test and comfirm your site.
what does this do ?
It can speed up your shop with about 200ms, When you added the code and you webadress on https://hstspreload.org , the browser will see that you using this code and prepaire the https internal in the browser, before opening the site to you customers. This avoid the http redirections on loadtime.
You can read this article: https://scotthelme.co.uk/hsts-preloading/
If I get it correct, it is possible to force https on http site if you got valid ssl certificate? Do you use it on your site?
Putting this in anywhere crashes my site.
I have configure it today and all works fine. But you have to wait for adding your url to the list by the company. I have a valid ssl certificate.
Have you placed in your htaccess, in the top of the page?
Does anyone know if they actually add sites? Or seen one added before? It seems like over time the list can be billions of lines long and would need to be truncated when sites go out of business.
I don’t know, I have added to my live shop (PS 1.6) for this moment.