Usually feel "relative path" and "absolute path" does not matter, what you want with what recently because of this, a point to eat the loss.
scene 1:
When referring to items in the public folder method, using a relative path, writing a lot ../../.
Later change the folder location, full error, the key is ../../ different places referenced in this public folder is not the same, no way, can only go to a file changed.
If cited "absolute position", as long as the global search about, can be replaced.
Scenario 2:
A file folder where the b file under A, I actually use the absolute path, b find this file, it took some time to find, and finally found it even in the same directory.
If a "relative path", then one can see.
Summary: Some common file or remote file location, use absolute paths.
, With the relative path on the same directory or a lower directory.
How to use the absolute path and relative path, reference https://www.cnblogs.com/shireyhu/p/7827194.html