The HTTP Strict-Transport-Security response header (often abbreviated as HSTS) informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS.

UNDERSTANDING HSTS

HEADER : StrictTransport-Security: max-age=31536000; includeSubdomanins; preload

Untitled

MAX-AGE KEYWORD

We can use chrome internal tool to check whether the site is using HSTS or not as shown below.

Untitled

URL : chrome://net-internals/#hsts

INCLUDE SUBDOMAINS KEYWORD