I have no skin in the game for the app itself, I just saw your post on the “front page” while scrolling and shitting….
there are 30,000 files
I’m more intrigued why you appear to be managing this with files. Why not use a database?
Edit: you’re also not handling misses very well. I just tried a random string and got the below error. That doesn’t tell me if it was my fault or a server error.
An error occurred while processing your request. Please try again later.