Resolve file_id against the image cache, then the record cache (both already mint a fresh url + carry file_size/file_name), replacing the not-yet-implemented stub. Document-type files have no id-resolvable cache yet, so they are intentionally left uncovered rather than faked.