Hi, I use https://tools.pingdom.com to check the speed of my website in WordPress, and I have F for Leverage caching, it says:
The following cached resources have a short freshness life. Indicate at least one week in the future for the following resources:
https://ssl.google-analytics.com/ga.js
https://fonts.googleapis.com/css?family=Droid+Sans
https://fonts.googleapis.com/css?family=Lora
https://fonts.googleapis.com/css?family=Merriweather+Sansrouble00,400,700
What else do I need to add to my .htaccess file? I already have this:
ExpiresActive On
ExpiresByType image / jpg "access 1 week"
ExpiresByType image/jpeg " 1 "
ExpiresByType image/gif " 1 "
ExpiresByType image/png " 1 "
ExpiresByType text/css " 2 "
ExpiresByType application/pdf " 2 "
ExpiresByType text/x-javascript " 2 "
ExpiresByType/x-shockwave-flash " 2 "
ExpiresByType image/x-icon " 2 "
ExpiresDefault "2 "
ExpiresByType video/mp4 " 2 "
- / , Google 1 .
https://fonts.googleapis.com/css?family= , : https://fonts.gstatic.com/s/droidsans/v6/s-BiyweUPV0v-yRb-cjciPk_vArhqVIZ0nv9q090hN8.woff2
. , google, css. fonts.gstatic.com .
, :
<link rel="dns-prefetch" href="//fonts.googleapis.com"> <link rel="dns-prefetch" href="//ssl.google-analytics.com"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Droid+Sans|Lora|Merriweather+Sans:300,400,700"> <script src="//ssl.google-analytics.com/ga.js" async></script>
EDIT 12/2: , , - , Google , .
Source: https://habr.com/ru/post/1659551/More articles:SafetyNet api, get nonce from server, not client - androidВыбор jQuery после id - javascriptHow to get hue color from ImageView using code - androidThe main view of the application does not change to fill the screen when the device is rotated - iosHeadache of inheritance of Kotinovsky generics - androidПеренести с старого репозитория LFS на новый репозиторий LFS? - gitHow to export code on Origami Studio - iosHow to upload a file to a newly created directory with curl on OS X? - bashIs it possible to conditionally compute the various parts of dplyr :: summaryize ()? - rhow to export and import style into npm package? - cssAll Articles