So I have launched a classified ads website but I am realizing that the website is getting too slow when loading ... I have one single upload folder and one thumb_cache folder that contains 4680 images in each one of them ... so each folder has 4680 images .. I have a regular shared hosting ... Could this be why the site is slowing down ? Can over 4000 image files in one upload folder slow down a site ? I developed the site in PHP , would PHP have a hard time finding images in one folder with over 4000 image files ?
How should I organize the upload directory for better performance ? automatically create a folder within the upload folder for each ad with PHP ?
I get Warning:
imagepng() [function.imagepng]: Unable to open
'/home/content/72/9959172/html/thumb_cache/
185x200__width__uploaded_files^classified_img^tractor61354.PNG' for writing:
Stale NFS file handle in
/home/content/72/9959172/html/al/includes/funcs_lib.inc.php on line 1168