diff --git a/themes/docs-new/layouts/partials/version_numbers.html b/themes/docs-new/layouts/partials/version_numbers.html index af8128aced..a60ea07f85 100644 --- a/themes/docs-new/layouts/partials/version_numbers.html +++ b/themes/docs-new/layouts/partials/version_numbers.html @@ -15,7 +15,7 @@ {{ $versions := "" }} {{ $headers := dict "Cache-Control" "no-cache" "Connection" "keep-alive" }} -{{ $cacheKey := print $versionsUrl (now.Format "20060102") (div now.Hour 6) | md5 }} +{{ $cacheKey := print $versionsUrl (now.Format "20060102") (now.Hour) | md5 }} {{ $opts := dict "headers" $headers "key" $cacheKey }} {{- if hasPrefix $versionsUrl "https://" -}}