Fixes #5103 adds viewtype to cache url regex