hhvm
hhvm copied to clipboard
Optimize File::TranslatePathWithFileCache when FileCache is empty
Change-Id: I7c6d98db13ea0dece449597347f31761486f1aa7
When StaticContentCache::TheFileCache is empty, it is no need to call access().
This will save 30% cost of some file system functions such as file_exist(), is_file(), etc.