Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2238)

Unified Diff: milo/appengine/frontend/templates/buildbot/pages/build.html

Issue 2250263005: Milo: Prefetch logs that are failures (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Also add prefetch Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: milo/appengine/frontend/templates/buildbot/pages/build.html
diff --git a/milo/appengine/frontend/templates/buildbot/pages/build.html b/milo/appengine/frontend/templates/buildbot/pages/build.html
index 7b9db7b362db56262579cd3a3b683f665b93a9d1..1d6f2bd42f759f1153ba1679d7ac4bd87bd80a48 100644
--- a/milo/appengine/frontend/templates/buildbot/pages/build.html
+++ b/milo/appengine/frontend/templates/buildbot/pages/build.html
@@ -15,7 +15,12 @@
{{- end }}
{{end}}
-{{define "head"}}{{end}}
+{{define "head"}}
+ {{ range .Prefetch }}
+ <link rel="prerender" href="{{.}}">
+ <link rel="prefetch" href="{{.}}">
+ {{ end }}
+{{end}}
{{define "body"}}
<div class="content">

Powered by Google App Engine
This is Rietveld 408576698