Cache/CDN Font - Does Chrome Know?
This is for you webperf guys out there... actually have a question regarding caching + fonts + CDN.
Let says I have 3 domains. The first 2 both are calling Google fonts CDN to load Roboto font.
Domain 1 (using Roboto on Google Fonts CDN) CWB0XYA8bzo0kSThX0UTuA.woff2
Domain 2 (using Roboto on Google Fonts CDN) CWB0XYA8bzo0kSThX0UTuA.woff2
The third domain is hosting Roboto with it's third-party CDN provider.
Domain 3 (using Roboto on third-party CDN) roboto-v16-latin-regular.woff2
From Google CDN for 2 different sites the cached Roboto file is CWB0XYA8bzo0kSThX0UTuA.woff2 (which means it is most likely already cached for others in their browser because they got it from another site already).
For the third-party CDN the cached file for Roboto is roboto-v16-latin-regular.woff2. Does Chrome for example have a way to determine that this is the same Roboto font. Is it stored in a hash?
In other words, would a first time user that has a Roboto font already cached from Google CDN still have to download Roboto from your CDN? Hopefully that makes sense :)