def METHOD_NAME(self):
    # views
    logger.debug('loading views from routes')
    self._cache = {}
    for route in self.server._router.routes:
        self._cache_view(
            route=route,
            view=route.view,
        )
        if route.frontend_view:
            self._cache_view(
                route=None,
                view=route.frontend_view,
            )
    # special views
    import_strings = [
        # frontend
        self.server.settings.CORE_FRONTEND_VIEW,
        self.server.settings.FRONTEND_VIEW,
        # error 403
        self.server.settings.CORE_ERROR_403_VIEW,
        self.server.settings.ERROR_403_VIEW,
        # error 404
        self.server.settings.CORE_ERROR_404_VIEW,
        self.server.settings.ERROR_404_VIEW,
        # error 500
        self.server.settings.CORE_ERROR_500_VIEW,
        self.server.settings.ERROR_500_VIEW,
    ]
    for import_string in import_strings:
        if not import_string:
            continue
        self._cache_view(
            route=None,
            view=import_string,
        )