diff --git a/core/core.services.yml b/core/core.services.yml
index 20b8651..e87f0a7 100644
--- a/core/core.services.yml
+++ b/core/core.services.yml
@@ -253,6 +253,11 @@ services:
   router.route_provider:
     class: Drupal\Core\Routing\RouteProvider
     arguments: ['@database']
+  router.route_preloader:
+    class: Drupal\Core\Routing\NonAdminRoutesPreloader
+    arguments: ['@router.route_provider', '@state', '@content_negotiation']
+    tags:
+      - { name: 'event_subscriber' }
   router.matcher.final_matcher:
     class: Drupal\Core\Routing\UrlMatcher
   router.matcher:
diff --git a/core/lib/Drupal/Core/Routing/NonAdminRoutesPreloader.php b/core/lib/Drupal/Core/Routing/NonAdminRoutesPreloader.php
new file mode 100644
index 0000000..950952c
--- /dev/null
+++ b/core/lib/Drupal/Core/Routing/NonAdminRoutesPreloader.php
@@ -0,0 +1,135 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\NonAdminRoutesPreloader.
+ */
+
+namespace Drupal\Core\Routing;
+
+use Drupal\Core\ContentNegotiation;
+use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
+use Symfony\Component\EventDispatcher\EventSubscriberInterface;
+use Symfony\Component\HttpKernel\Event\KernelEvent;
+use Symfony\Component\HttpKernel\KernelEvents;
+
+/**
+ * Defines a class which preloads non admin routes.
+ */
+class NonAdminRoutesPreloader implements EventSubscriberInterface {
+
+  /**
+   * The route provider.
+   *
+   * @var \Drupal\Core\Routing\RouteProviderInterface
+   */
+  protected $routeProvider;
+
+  /**
+   * The state key value store.
+   *
+   * @var \Drupal\Core\KeyValueStore\KeyValueStoreInterface
+   */
+  protected $state;
+
+  /**
+   * The content negotiation.
+   *
+   * @var \Drupal\Core\ContentNegotiation
+   */
+  protected $negotiation;
+
+  /**
+   * Contains the admin routes.
+   *
+   * @var array
+   */
+  protected $adminRoutes;
+
+  /**
+   * Contains the admin routes while rebuilding the routes.
+   *
+   * @var array
+   */
+  protected $adminRoutesOnRebuild = array();
+
+  /**
+   * Constructs a new NonAdminRoutesPreloader.
+   *
+   * @param \Drupal\Core\Routing\RouteProviderInterface $route_provider
+   *   The route provider.
+   * @param \Drupal\Core\KeyValueStore\KeyValueStoreInterface $state
+   *   The state key value store.
+   * @param \Drupal\Core\ContentNegotiation $negotiation
+   *   The content negotiation.
+   */
+  public function __construct(RouteProviderInterface $route_provider, KeyValueStoreInterface $state, ContentNegotiation $negotiation) {
+    $this->routeProvider = $route_provider;
+    $this->state = $state;
+    $this->negotiation = $negotiation;
+  }
+
+  /**
+   * Gets the admin routes.
+   *
+   * @return array
+   */
+  protected function getAdminRoutes() {
+    if (!isset($this->adminRoutes)) {
+      $this->adminRoutes = $this->state->get('routing.admin_routes', array());
+    }
+    return $this->adminRoutes;
+  }
+
+  /**
+   * Load all the admin routes right before the actual page is rendered.
+   *
+   * @param \Symfony\Component\HttpKernel\Event\KernelEvent $event
+   *   The Event to process.
+   */
+  public function onRequest(KernelEvent $event) {
+    // Just preload on normal html pages, as they will contain the menu links.
+    if ($this->negotiation->getContentType($event->getRequest()) == 'html') {
+      $this->loadAdminRoutes();
+    }
+  }
+
+  /**
+   * Load all the admin routes at once.
+   */
+  protected function loadAdminRoutes() {
+    if ($routes = $this->getAdminRoutes()) {
+      $this->routeProvider->getRoutesByNames($routes);
+    }
+  }
+
+  /**
+   * Alters existing routes for a specific collection.
+   *
+   * @param \Drupal\Core\Routing\RouteBuildEvent $event
+   *   The route build event.
+   */
+  public function onAlterRoutes(RouteBuildEvent $event) {
+    $collection = $event->getRouteCollection();
+    foreach ($collection->all() as $name => $route) {
+      // Just preload non admin and _content routes, as they are the ones
+      // that appear on menu links and co.
+      if (strpos($route->getPath(), '/admin') === FALSE && $route->hasDefault('_content')) {
+        $this->adminRoutesOnRebuild[] = $name;
+      }
+    }
+    $this->adminRoutesOnRebuild = array_unique($this->adminRoutesOnRebuild);
+    $this->state->set('routing.admin_routes', $this->adminRoutesOnRebuild);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public static function getSubscribedEvents() {
+    $events[RoutingEvents::ALTER] = array('onAlterRoutes', -1024);
+    // Come before the HtmlViewSubscriber.
+    $events[KernelEvents::REQUEST][] = array('onRequest');
+    return $events;
+  }
+
+}
