Developer forum

Forum » Feature requests » Changes to the method getimage.aspx stores it images

Changes to the method getimage.aspx stores it images


Reply
Today all tmp images i store in the one and same folder. Cache.net/images.

I have a solution where there is more than 62000 images in that folder. :(

Get get a better preformance in the lookup of the tmp images, it would be a lot better if there was created some kind of structure in the above folder.

As you already hashing the filename, you could use the hash to build the directories, with a convention of that fx. the 2 first letters in the hash gives the first level direcories, and the 2 next letters the 2nd level, and so on if more levels are needed.

This would ofcourse give a pretty large and complex structure, but as its only accesed by the system, that would be ok.

The benefit would be a lot less files in each folder. and therefor a lost faster look up.

/kenneth

Replies