Skip to content

Commit 57d84a4

Browse files
[docs](doc): Expires(in future)
Signed-off-by: Ralph Hightower <[email protected]>
1 parent d08e8b1 commit 57d84a4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

_includes/custom-head.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33

44
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
55
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
6+
Expires: Thu, 01 Dec 1994 16:00:00 GMT
7+
%a, %d %b %Y %T %Z
68
{% endcomment %}
79

8-
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin>
9-
<link rel="preload" href="Hubot-Sans.woff2" as="font" type="font/woff2" crossorigin>
10+
{% expire = 'now' | date: '%s' | plus: 60 | date: '%a, %d %b %Y %T %Z' %}
1011

1112
{% if page.url contains "WhereIsTrump-Countdown" %}
1213
<meta http-equiv="Cache-Control" content="no-cache, no-store, max-age=1, must-revalidate">
1314
<meta http-equiv="Pragma" content="no-cache">
14-
<meta http-equiv="Expires" content="1">
15+
<meta http-equiv="Expires" content="expires">
1516
{% endif %}
17+
18+
<link rel="preload" href="Mona-Sans.woff2" as="font" type="font/woff2" crossorigin>
19+
<link rel="preload" href="Hubot-Sans.woff2" as="font" type="font/woff2" crossorigin>

0 commit comments

Comments
 (0)