3 ms·
As others have said, make sure youre using the local cache first. Once youre beyond that most CDNs support advanced “cache keys”. Beyond the URL you can use (pa
by donavanm 4y ago
As others have said, make sure youre using the local cache first. Once youre beyond that most CDNs support advanced “cache keys”. Beyond the URL you can use (parts of) the query param, cookies, or headers to construct a cache key. You could get down to user/group/etc specific CDN caching with that approach. For an example: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...
- dedalus 4y agoThe issue though is that for the same identical cache content wouldnt you prefer it to be on your local laptop than a cloud somewhere purely for the expediency aspect much less the offline experiences that it may provide?