router optimized, no round-trip for getting current url