micro optimized for a single $refUrl instance