lucidlemon / paradeiser

small and sleek mobile navigation
http://lucidlemon.github.io/paradeiser/
500 stars 29 forks source link

Providing Paradeiser over a CDN #14

Closed TheoBearman closed 9 years ago

TheoBearman commented 9 years ago

Hey there,

I'm happy to see there is fairly consistent updating of Paradeiser. Having said that, it's quite a hassle to keep redownloading a CSS file and uploading it to my server every time there is an update. Consequently, is it possible to have Paradeiser hosted on a CDN?

Thanks,

Theo

lucidlemon commented 9 years ago

Hi, totally an option, I'll look around where to host scripts like this one. And yeah, sure I try to improve each and every bit, as this should be the reason to use a small set of features like Paradeiser provides :)

Daniel

TheoBearman commented 9 years ago

Great news! Please keep me updated on your progress.

Thanks as always...

lucidlemon commented 9 years ago

Alright, I have now configured cloudflare for my personal domain where I created a subdomain to serve as a CDN. If you like to you could test it like this:

<link rel="stylesheet" href="//cdn.danielwinter.at/paradeiser/min/paradeiser.min.css">

the cdn.danielwinter.at/paradeiser/ is relative to the dist directory, therefore it provides everything that bower does as well. It works through http and https so.. in theory it should be good to go. I might want to test for further instanced however.

TheoBearman commented 9 years ago

Will test shortly.

TheoBearman commented 9 years ago

All looks good to me. Using the CDN link on both of my domains with Paradeiser installed and it all seems to be good.

lucidlemon commented 9 years ago

Perfect. Thanks for your support.

lucidlemon commented 9 years ago

Paradeiser is now available on cdnjs as well, and you may even get each version of it here: https://cdnjs.com/libraries/paradeiser