Re:Show HN: Doomguy as a Service
by ejfinneran on Saturday October 05, 2013 @04:05PM
(#6501876)
It was just a fun toy app that I whipped up. Didn't mean to offend anyone with my "hot tech". :-)
[ Parent
| on HN ]
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?
Re:Show HN: Doomguy as a Service
by ejfinneran on Saturday October 05, 2013 @05:55PM
(#6502230)
The 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.