I’ve been tweaking with IPFS settings to improve its content retrieval times for certain public IPFS CIDs when they’re freshly created by other parties. On occasions, it takes up to a minute for a very capable server with IPFS installed to fetch the contents of a single CID (that isn’t a dag) via its own API (127.0.0.1:5001/api…). I’ve found the API to work the fastest as compared to CLI.
In that sense, I’m wondering what is the best approach (if there is such) to improve the retrieval times, including peering, multiaddrs, or anything that can help. Also something I considered, was trying to dynamically find info on the hosting node of a file so that I can attach that to my ipfs POST requests as host_nodes. Not sure if this is possible.