Hi,
I wonder if anyone can suggest a suitable solution ?
I have a news site. I create cache files and every time a new article is entered I delete this cache files. After that every visitor first requested any file creates a cache for that file. However not all of the cache files were deleted properly. Because the site is high loaded there is big chance when a user request a cache file another script to try do delete all cache files and than those requested file remains undeleted. And it broke my news order for some time. I tried to solve the problem. I made a check if a cache file is deleted and if the result is false than a loop is started until the files delete process return true. I hoped it is enough but unfortunately there remained problems. And I am helpless now. Anyone to have idea how I can get read of these file competitions that occures ??
Thanks in advance 🙂))