DMarby / picsum-photos

Lorem Ipsum... but for photos.
https://picsum.photos
MIT License
2.21k stars 153 forks source link

Save bandwidth with CloudFlare CDN #16

Closed laukstein closed 8 years ago

laukstein commented 8 years ago

I see Unsplash It having big bandwidth. You can save lots of bandwidth by simply applying CloudFlare DNS that would pass all network trough their proxy - secure, cached and optimized.

In CloudFlare you can define 'Page Rule' to "Cache everything", add addition role https://unsplash.it/*?random "Bypass cache".

DMarby commented 8 years ago

Bandwidth isn't really an issue, the only compelling reason to use a CDN would be for a potential slight speedup in delivery.

laukstein commented 8 years ago

CloudFlare isn't CDN service, but the way they delivers any content (also dynamic content from free plan) is trough their CDN earlier caching all requests from origin server.