Do not cache url prefix.

Fixes #1342