About the principle of gateway path resolve

Hi, guys
I have a question is about the principle of gateway path resolve.


If I use this way to fetch my video which I added on IPFS, whether is my server fetching the corresponding content from ipfs.io? And Is my request data from ipfs.io or my server?

If I use this way to fetch my video which I added on IPFS, whether is my server fetching the corresponding content from ipfs.io?

By default ipfs.io (or whatever your gateway).
IPFS-companion or smart browsers will intercept thoses requests and move them to the local node if possible, it that is an ugly hack and it is recomended to use ipfs:// for something pretty.

And Is my request data from ipfs.io or my server?

ipfs.io unless it gets intercepted.

ok! I got it and thanks for your reply