Reaction CDN integration


#1

Previous discussion here

Speed up reactionecommere application by using CDN to reduce css & js & media loading time.

  1. follow http://joshowens.me/using-a-cdn-with-your-production-meteor-app/ get css & js file done.
  2. CDN to speed media(image)
    • But I think for cdn to work there is a pre-condition: Same image of the same build for different session and different user have the same url . token is different. I will do some trial. But I reckon it will cause problem.
First time:
https://store.snapmaker.com/assets/files/Media/8NHPPN5LgXTr4Hg5Y/01.jpg?token=eyJhdXRoVG9rZW4iOiJEQUVwZjY0VXh6M3RHTkphSFl6N2JJbjkxTFI2TFN0VlJOaENpT1VuZG11In0%3D&store=large

=====

Second time
https://store.snapmaker.com/assets/files/Media/8NHPPN5LgXTr4Hg5Y/01.jpg?token=eyJhdXRoVG9rZW4iOiJaZF9jSHUtaEpwV0F1NTFPQ1VWeVpBMDVKbm5LMEdsWjRYMmxpeHFjdXBTIn0%3D&store=large