diff --git a/application/Espo/Core/Utils/ClientManager.php b/application/Espo/Core/Utils/ClientManager.php index 1015e50b0e..21bda8e938 100644 --- a/application/Espo/Core/Utils/ClientManager.php +++ b/application/Espo/Core/Utils/ClientManager.php @@ -125,7 +125,10 @@ class ClientManager $linksHtml = ''; foreach ($linkList as $item) { - $href = $this->basePath . $item['href'] . '?r=' . $cacheTimestamp; + $href = $this->basePath . $item['href']; + if (empty($item['noTimestamp'])) { + $href .= '?r=' . $cacheTimestamp; + } $as = $item['as'] ?? ''; $rel = $item['rel'] ?? ''; $type = $item['type'] ?? ''; diff --git a/application/Espo/Resources/metadata/app/client.json b/application/Espo/Resources/metadata/app/client.json index 18b2cb8789..82798d455f 100644 --- a/application/Espo/Resources/metadata/app/client.json +++ b/application/Espo/Resources/metadata/app/client.json @@ -30,13 +30,15 @@ "href": "client/fonts/open-sans/OpenSans-Bold.ttf", "as": "font", "type": "font/ttf", - "rel": "preload" + "rel": "preload", + "noTimestamp": true }, { "href": "client/fonts/open-sans/OpenSans-Regular.ttf", "as": "font", "type": "font/ttf", - "rel": "preload" + "rel": "preload", + "noTimestamp": true } ] }