Difference in load time

The same file takes 5-10 minutes to load and sometimes it opens instantaneously.Why is this difference in load time .

hi,

IMO it can two possibilities :

  • node we this ressource can far away.
  • your node have in gc this CID.

Regards

Thanks for the reply, I have a couple of follow ups:

  1. I am running my node on AWS .
  2. Data is present on the server hosting my local node (daemon is running) how do i save the data from the GC.

it’s automatically when you use ipfs add / cat / get

1 Like

Why is this difference in load time .

For short loads, the gateway may already have the data or may already be directly connected to your node. For longer loads, the gateway may have to connect to your node.

The gateway may also be under heavy load.

2 Likes

What loads would be considered heavy.
it’s running on localhost how big must the traffic be since don’t you automatically just get sub 5ms latency since it is a localhost.
meanwhile apache and nginx can handle tens, hundreds, of thousands of connections. I don’t know but I think ipfs can handle at least that right