I know nothing about CDNs, and tomorrow I'm going to start what promises to be a lengthy investigation of them.
But I wanted to share my ideal vision of a CDN - which basically maps to the concept of a 'paid proxy'.
In a nutshell, I just want to cache all my static files (js, css, images etc) so that users always access a close enough POP.
In my mind it should be very simple to achieve this goal, I just change:
script: src = 'http://abc.com/script.js'
image src = 'http://abc.com/image.jpg'
to:
script: src = 'http://cdn.com?src=abc.com/script.js'
image src = 'http://cdn.com?src=abc.com/image.jpg'
The proxy would query my server exactly once, and then push the content out to the edges. No explicit uploads, no hassle, no APIs etc.
Am I dreaming or is this achievable?
Thanks.