From the page source I can see there are two references to fonts.googleapis.com
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,300,400,600,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' />
but while page load there are lot of .woff2 file loading from http://fonts.gstatic.com/
I want to know why this is happening?
When you look inside the referenced CSS files, you will see there are multiple font-faces defined. This is what the URL was requesting. A query like
Open+Sans:400italic,600italic,700italic,300,400,600,700
means, give meOpen Sans
inThe numbers mean font weight.
So only the first CSS file already escalates to 7 font-styles.
The second CSS file has mostly the same fonts defined. Only 3 of them are not covered in the first file. This should sum up to 10 different font-styles.
Open Sans has a lot of script extensions available:
To cover all those combinations, Google creates
font-style * script
font-face definitions, which results into 70 font-faces each with a different font file (in case of Google Chromewoff2
).To reduce the number of files:
Both can be individually selected on the Use page of Open Sans.