From 4dd5b7e103c3ff2ed0c96a0c325548f77f36bdcd Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 4 Oct 2024 22:02:44 +0800 Subject: [PATCH] feat: add link prefetch for logo resource on login page (#6751) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area core /kind improvement /milestone 2.20.x #### What this PR does / why we need it: 为登录页面的 Logo 资源添加 link prefetch 标签,以缓解页面抖动的问题。 before: https://github.com/user-attachments/assets/ec718b62-6593-4deb-a028-bcb3d8504c4e after: https://github.com/user-attachments/assets/8d408408-37bd-4cdc-a22a-b39531fa505f #### Does this PR introduce a user-facing change? ```release-note None ``` --- .../src/main/resources/templates/gateway_modules/layout.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/src/main/resources/templates/gateway_modules/layout.html b/application/src/main/resources/templates/gateway_modules/layout.html index 126838d12..f82bb0db5 100644 --- a/application/src/main/resources/templates/gateway_modules/layout.html +++ b/application/src/main/resources/templates/gateway_modules/layout.html @@ -10,6 +10,8 @@ /> + +