With this changed behaviour, the ResourceStorage now can correctly mark a file as missing because the php is_file() method returned true if the $fileIdentifier was formatted correctly as a file identifier, and it was not checking if the file would exist on the storage.
This wasn't right. The AWS StreamWrapper overrides the is_file call and executes a headObject call. The result of this call is cached. Our custom headObject implementation didn't use any cache and caused performance issues.
Small regression fix for https://github.com/MaxServ/t3ext-fal_s3/pull/64:
This wasn't right. The AWS StreamWrapper overrides the is_file call and executes a
headObject
call. The result of this call is cached. Our custom headObject implementation didn't use any cache and caused performance issues.