Hosting Javascript/CSS file on CDN similar to Google hosting jQuery [closed]
Asked Answered
A

6

14

I am wondering if there are any hosts or if I can host my file (JS & CSS) on Google so that they are cached and load real quick (due to CDN and gzip).

A number of my customers use these files and I would prefer if they could somehow include this to file to receive the JS file. Ideally with filename.js?publickey=sdfgsdfg (which will be tied to a particular domain name).

The problem is that my hosting needs are very small- only about 100kb.

Any suggestions? My problem is that the customers using the JS & CSS file, have no clue about gzipping content or caching (as their shared hosts do not support it), as a result causes the JS/CSS to take forever to load. Am wondering if I can leverage an existing free service, or I do not mind paying either.

Aftertaste answered 24/9, 2009 at 11:4 Comment(1)
Is it worth changing the accepted answer now? Seeing as SimpleCDN is no longer around and @Vnuk is getting hit with downvotes for something that isn't their fault?Radborne
R
-16

Try SimpleCDN. You can store your files very cheap and the traffic is also not that expensive. Number of people have complained to their service - I have no objections.

Ragucci answered 24/9, 2009 at 11:13 Comment(2)
SimpleCDN is no longer in business.Derayne
It's kinda hard not to notice when your cdn provider goes bust and takes your prepaid credits with them :DRagucci
D
4

CDNJS.com allows you to submit a pull request to their GitHub account to get a JavaScript library on their CDN. I've been attempting to get a CSS library added on their forum old and abandoned forum.

Doubledealing answered 13/8, 2011 at 0:49 Comment(0)
A
4

If you're comfortable with the Amazon cloud platform, you can use CloudFront. You don't need to use it with S3, but you can.

Ailbert answered 13/8, 2011 at 1:11 Comment(0)
G
1

You can try Amazon AWS CloudFront for quick content delivery. Amazon CloudFront works seamlessly with any origin server, which stores the original, definitive versions of your files.

Goetz answered 21/12, 2011 at 3:38 Comment(0)
V
0

Here comes the JQGrid CDN Link

http://www.jsdelivr.com/#!jqgrid

Veach answered 10/6, 2013 at 7:33 Comment(2)
I don't see any options for sign up.Valeta
"couldn't find version", "coulndn't feitch this", "couldnn't fetch that" -useless.Fluxmeter
P
0

Use Cloudflare. It will take care of all your JS CSS files, with added security to your whole system.

Polish answered 15/12, 2015 at 2:11 Comment(0)
R
-16

Try SimpleCDN. You can store your files very cheap and the traffic is also not that expensive. Number of people have complained to their service - I have no objections.

Ragucci answered 24/9, 2009 at 11:13 Comment(2)
SimpleCDN is no longer in business.Derayne
It's kinda hard not to notice when your cdn provider goes bust and takes your prepaid credits with them :DRagucci

© 2022 - 2024 — McMap. All rights reserved.