Updated addPath to allow disableCaching switch