It is generally believed that the decoupling capacitor should close to the chip as much as possible during PCB Layout.
Exactly speaking, the power supply circuit area of decoupling capacitor should also be as small as possible.
That's to say, we should make the connection among decoupling capacitor and chip power supply and ground as short as possible.