The Little Guy Posted August 13, 2011 Share Posted August 13, 2011 When doing a site that has lots of images, what would be a good technique for storing them, to keep things organized, and the server fast? I have heard that storing all the images in one directory can slow things down when apache has to grab an image to server that is with say 50,000 other images in the same directory. Right now the only plan that I have is to store the images in a sub-domain's directory, in 10-20 separate directories. Quote Link to comment https://forums.phpfreaks.com/topic/244688-photo-management/ Share on other sites More sharing options...
cs.punk Posted August 17, 2011 Share Posted August 17, 2011 Well if each image had an ID associated with them. Could you make folders for each 1000(th)? If you do that you should defintally do a benchmark and post it somewhere. Quote Link to comment https://forums.phpfreaks.com/topic/244688-photo-management/#findComment-1258562 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.