Is it okay to create a site for hosting JavaScript files like a cdn?

If I create a site that serves files like this:

So that people can use it like this in an HTML file:

<script src=""></script>

Would that violate the TOS?

@mitchallen It seems as though it would:

“Any person deemed to be using Netlify solely as a remote storage server will have their account immediately terminated and will have all files associated with their account permanently removed.”

I saw that and I wasn’t sure if it applied. Technically everything is stored on the site - it comes down to I guess how it’s meant to be used or accessed. Thanks.

hi @mitchallen, thanks for checking with us. As the TOS state, solely using our services as a storage bucket does go against the rules. You do need to have a site that is using the assets you are storing generally speaking.

It’s not such a big issue for smaller JS files, but the reason this rule is in place is to have a way of booting abusers off the service who slow down/clog our global build network & CDN by abusing us as a fileserver for things like large image files, video, audio, executables etc. We can and do take down sites that do this kind of thing on a daily basis. There are other services that are better suitable for those kinds of storage purposes.

So i guess the answer is - if it is a JS file or two, especially small ones, no big deal. Be smart about your usage, and you should be fine.