Ideally, yes. But alas, many parts of the web do not run well on all hardware. There is an extremely wide range of devices in use on the internet, and western developers are often in the 1%.
Because I stopped using GitHub to submit icons to let non techies submit them, GitHub is all good for static sites but I needed something that would let uses submit icons directly from the website without needing to know how to use GitHub, here is a thread I created that explains it all better: https://twitter.com/elrumo/status/1328860367850758146?s=21
I’ll be moving away from Firebase into something that more sense soon anyway, it was just an oversight from me as I not expected it to to get to 40k visits in just a few days, I was only expecting a few hundred a day.
The issue is not actually hosting, all the icons are lazy loaded. I'm pulling the data about the icons from Firestore which include a URL for the png and the .icns file. Right now I'm looking at alternatives, I'm aware this is not the most efficient thing, but I just haven't had time to change it since it blew up last Friday. For reference, last week we had a little less than 1000 icons, and today there's almost 2000.
I only used Firebase because when I built the site it was only a small scale solution, but now that is has blown I'm looking at alternatives because this is just a waste of everyone's money. And by the way, I only graduated from my master's last month, and I'm not even a computer scientist, I went to design school and have a degree in industrial design, hence my messy code practices. I'm working on them though, so if anyone is willing to give me a hand or some guidance, feel free to do so.
When I built this site I really didn't think much of it and used Firebase just because it was really quick to build and I was getting only a few hundred visits a day. But since last Friday it has received over 35K visits hence the really expensive bill, which by the way is not so much for the storage, but for reading the Firestore database. I simply haven't had the time to re-build the site in a more efficient way it since then, hopefully tomorrow I'll get working on it and find a better alternative solution.
Because when I first built it, it was only a site I botched together really quickly for a handful of icons I made. And I haven't had the time to re-make it, which is what I'm doing right now.