Problem Description: The Web introduced BOOTSTRAP.CSS in the header has access to the Google Server request @import URL ("//fonts.googleapis.com/css?family=open+sans:400italic, 700italic,400,700 ");
Domestic visit is not stable, page response is slow
Workaround: Save the request result, place it locally, and re-declare the request 1. Request http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700; Get CSS style as follows Re-request the four files on the way URL request and place them locally URL modified to a location in the file
@font-face {font-family: ' Open Sans '; font-style:normal; font-weight:400; src:local (' Open Sans '), local (' Opensans '), u RL (.. /fonts/cjzkeoubrn4kerxqtauh3t8e0i7kzn-epnyo3hzu7kw.woff) format (' Woff ');} @font-face {font-family: ' Open Sans '; font-style:normal; font-weight:700; src:local (' Open Sans Bold '), local (' Opensans -bold '), url (.. /fonts/k3k702zokiljc3wvjuplzhhcuogz7vygh680lgh-uxm.woff) format (' Woff ');} @font-face {font-family: ' Open Sans '; font-style:italic; font-weight:400; src:local (' Open Sans Italic '), local (' Opensa Ns-italic '), url (.. /fonts/xjajxh38i15wypjxxugmbobn6udyhwbl620a-irfubk.woff) format (' Woff ');} @font-face {font-family: ' Open Sans '; font-style:italic; font-weight:700; src:local (' Open Sans Bold Italic '), local (' O Pensans-bolditalic '), url (.. /fonts/prmixeptr36kac0geaetxjqr_3kx9_hjxbbyu8s6in0.woff) format (' Woff ');}
Content according to the use of the Bootstarp version of the different content, but the solution is similar, will be from the Google Server request the font of the link in the local server, can greatly alleviate the page load speed.
|