So my script counts every file in a certain directory and when i tried to migrate servers, not all the files were transferred, and when i checked the site on the new server, the file count was much lower. I have a feeling there is some type of cache because even after uploading the rest of the files the number of files is still the same, is there a way to update the cache for a php script?