3 ms·
Though I think GP is being a bit of an idiot, I read your source and I was a little surprised. The app only consists of static files, yet you run every request
by tinco 13y ago
Though I think GP is being a bit of an idiot, I read your source and I was a little surprised. The app only consists of static files, yet you run every request through a rack app that does nothing but send the static files (except for the indexing of the face files, which could've been done ahead of time too).
Why?
- ejfinneran 13y agoThe idea was that the image URL could just be a number between 0 and 100 and the app would handle translating that to 1 of 5 possible images. If I just served a file for every possible number, the browser would have to potentially download 20x the data.