3 ms·
No, he's pulling the individual ones from firebase storage. That's also why the webpage displays "0 icons" for a second after it loads; it has to go fetch the
by _bin 6y ago
No, he's pulling the individual ones from firebase storage. That's also why the webpage displays "0 icons" for a second after it loads; it has to go fetch the icon total from firebase.
- elrumo 6y agoThe 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.
- wraptile 6y agoyeah but the icons are already on github aren't they? Why are they on reduntly hosted on firebase? This whole website can be free on github pages - very confusing.
- elrumo 6y agoBecause 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 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.