Not sure I’m asking the question correctly, but here’s my use case.
I have a snipet of HTML, CSS and a few images I’d like to add to our site. These files currently sit on my local computer.
Should I look to create a CDN and reference that? Or, is there a bubble solution I should explore instead (and if so what is it?)
You can just upload them as files. Use the File Uploader element.
For images, you can use the picture uploader for images of course. Or just create a datatype with an image field. The data tab > app data would let you create a new thing of that type and click on the image field to upload your image.
If you need for some reason to host files in the root directory of your site, you can do that, too: Settings > SEO/Metatags (scroll down to “Hosting files in the root directory”.
Lots of ways to host files in Bubble…
Also (more obviously), for images you use in designs, plopping down an Image element lets you get the images into your database and page at the same time of course.
Curious when do you consider using the root directory to host content?
That tends to be for things like scripts from various services (e.g., OneSignal requires several scripts and a .json file at that level) or authentication files (put this file here to prove you own such-and-such domain). But you could use it for anything.
For things like images, it is of course better to have them as objects in your database.