Simple demo project used to test nitrolabs:cdn. This demo is serving live at http://cdn.nitrolabs.com/.
The project can be run on a development machine. The project should be tested with and without the CDN enabled
git clone https://github.com/NitroLabs/meteor-cdn-demo.git
cd meteor-cdn-demo
# Without the CDN enabled
meteor
# With the CDN enabled
export CDN_URL=http://www.mycdn.com/ && meteor
The second example will not actually work unless http://www.mycdn.com points back to the webserver. However, the javascript and css links should point to cdn url.
This package has extensive unit tests
meteor test-packages nitrolabs:cdn
MIT