From a2abfc596965111c28ea43d9ab986732692e022f Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 28 Jun 2022 17:49:14 +0900 Subject: Write response as soon as data is ready Previously the entire archive had to be read before the template is executed, thus large archives takes forever to render from slow backing FS. --- templates/archive-head.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/archive-head.html (limited to 'templates/archive-head.html') diff --git a/templates/archive-head.html b/templates/archive-head.html new file mode 100644 index 0000000..ed643e3 --- /dev/null +++ b/templates/archive-head.html @@ -0,0 +1,12 @@ +{{template "base-head.html" -}} + +{{.Title}} + + +
-- cgit 1.4.1