English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am creating a website that will store images, probably thousands and thousands. Is it better to store all of the image in one place, a big grand single folder(unique names) or to create lots of little folders with a smaller amount? Which will cause a bigger hit on the server? If it is a good idea to use multiple folders, what cap should there be per folder?

2006-12-16 14:51:23 · 4 answers · asked by Jay 2 in Computers & Internet Programming & Design

4 answers

I don't think the number of folders you use will make a bit of difference to the server's performance. What WILL make a difference is your ability to find these images when you need to. I would break them down into folders. I always maintain an images folder for the "web design" portion of my site. I may then create additional folders under that for such things as images that go with events (that may be temporary). If I were creating folders for, for instance, something to sell, I might split them up by part number and have a folder "02" for all part numbers that begin with 02. Of course, I hope you'll find some syntax for naming your image FILES, too.

:)

Good luck to you!

2006-12-16 14:57:02 · answer #1 · answered by Secret Agent of God (BWR) 7 · 0 0

it doesn't really matter if you use one folder or many as far as the server is concerned. If you never have to find a specific image manually, I would say use one folder. If you have to find images and put them in a static html web page, I would organize the images in to folders by category or date and choose a cap that seems reasonable (like 100 per folder..).

2006-12-17 00:07:35 · answer #2 · answered by JediElite 2 · 0 0

I understand that you're trying to help the server do its job efficiently but the number of folders that you use won't help or hinder the server.

Since you have thousands of images, use the folders to help you organize the files instead.

2006-12-16 22:59:35 · answer #3 · answered by nevisgent 3 · 0 0

That depends on your choice................
No performance issues involved..........

2006-12-17 00:16:31 · answer #4 · answered by shakeelstha 2 · 0 0

fedest.com, questions and answers