We have a rails app that dynamically generates thumbnails on request and saves the result locally to make it faster to serve up the same one again. We use the following url structure:
Where 99999 is the database record the thumb is linked to. The problem is the number of records with thumbnails is maxing out the directory limit.
Any ideas on how to get around this while maintaining the built in automatic cache retrieval that rails gives you with the public folder?
The end goal is to be able to dynamically generate arbitrary thumbnails on demand and cache the result locally.