cache and router regular expressions