Viewer - IFileTypeResolver

Good day,

In this previous support case, you mentioned about IFileStorage and IFileTypeResolver
Using GroupDocs in ASP.NET Core Linux Docker - Free Support Forum - groupdocs.com

Actually, is it possible to combine both?
In my case, the file is fetched from another web API. Therefore, I would like to call the web API once only (not 2x, retrieving the file, and retrieving the file type).

Thank you.

@Bipo

The API designed in a way that these are two distinct interfaces. As a workaround, you can cache file type in IFileStorage and IFileTypeResolver. MemoryCache should work well in this case.