Most resources delivered by Findologic via CDN have a long cache lifetime of 24 hours. This is in line with Google's recommendations for the use of third-party resources to optimise performance for the user.
- Each time a page is accessed, the browser sends a request to the Findologic CDN with the hash (a unique signature calculated from the content of the file) of the autocomplete.js/main.js, which is in the cache.
- If the CDN has the same hash (and the file is therefore unchanged), the content of the file is not returned, only the HTTP header. The response is then only about 204 bytes in size.
- Only if the hash differs from the hash in the cache (and the file on the server has thus changed), is the complete file sent back.